question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

External URLs are prefixed with relative path

See original GitHub issue

If I add external resources for caching, they are prefixed with ./ like this:

  "assets": {
    "main": [
      "./"
    ],
    "additional": [],
    "optional": [
      "./https://weblibrary.myserver.com/styles/main.css",
      "./https://weblibrary.myserver.com/fonts/icons.woff"
    ]
  },

I can set relativePaths: false, but I don’t really see why you can’t have both relative paths and a few external URLs. Should be easy to detect?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
NekRcommented, Jun 4, 2016

On npm now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow relative URL in web.external-url · Issue #1583 - GitHub
Used for generating relative and absolute links back to Prometheus itself. If the URL has a path portion, it will be used to...
Read more >
Absolute vs relative URLs - Stack Overflow
This URL is relative based on the current scheme used and should almost always be used when including external resources (images, javascripts etc)....
Read more >
External URLs and path prefixes - Robust Perception
By default Prometheus (and Alertmanager) presumes that any path in the external URL is a prefix path that'll be in all requests that...
Read more >
RFC 3986: Uniform Resource Identifier (URI): Generic Syntax
This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines...
Read more >
Target URL and URL Parameters - Salesforce Help
Navigating URLs in Lightning and Lightning Community. Navigating to Lightning pages and from Lightning Containers requires the relative path to have a prefix....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found