Skip to content

CDN Address not working in baseUrl #2380

Open
@AzaZPPL

Description

@AzaZPPL

Version

3.0.1

Reproduction link

https://github.com/yangmingshan/vue-cli-issue

Node and OS info

Node: 10.9.0 / npm 6.4.0 / MacOS 10.13.6

Steps to reproduce

  1. Set baseUrl in vue.config.js to a CDN url.
  2. Run npm run serve
  3. URL is now set to: http://localhost:8080/https://my.cdn.com/

What is expected?

URL should be set to https://my.cdn.com/

What is actually happening?

Url is set to http://localhost:8080/https://my.cdn.com/


This issue #1545 was fixed with commit 1195aee. In the later commit 1e7fa2c the fix got removed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions