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.

Origin isn't being used to prefix the links

See original GitHub issue

I’m developing a website to host on github pages, so I need to set a full address like macabeus.github.io/ryujinx-catalog/ as the prefix for all links.

But even setting it on elder.config.js or server.prefix such as:

module.exports = {
  origin: 'https://macabeus.github.io/ryujinx-catalog/',
module.exports = {
  origin: 'https://macabeus.github.io/',
  server: {
    prefix: '/ryujinx-catalog',

It isn’t being used to prefix any links. For instance, the builder generates <link rel="stylesheet" href="/style.css" instead of <link rel="stylesheet" href="macabeus.github.io/ryujinx-catalog/style.css".

image

How to fix it?

Edit

Related: https://github.com/Elderjs/elderjs/issues/43

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
nickreesecommented, Jan 29, 2021

@jfowl @macabeus #128 should fix this issue.

1reaction
macabeuscommented, Jan 24, 2021

@jfowl I opened a PR fixing it. Maybe it could be useful for you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploying to Github Pages? Don't Forget to Fix Your Links
Prefix all links. To fix this issue, you have to prefix all links with the repository name of your project. Luckily, most static...
Read more >
Limit access to your origins using the AWS-managed prefix list ...
To enable requests from CloudFront to access your origins (the source of your content, for example, Amazon Elastic Compute Cloud (Amazon EC2) ...
Read more >
BGP Prefix Filtering - Noction
This is a filter that everyone should apply as an inbound filter on BGP sessions that don't have a stricter filter. If your...
Read more >
OSPF Prefix Suppression - NetworkLessons.com
OSPF prefix suppression lets you remove the prefixes used on transit links from the LSDB and routing table.
Read more >
Troubleshoot Border Gateway Protocol Routes that Do Not ...
This document describes how to troubleshoot when a Border Gateway Protocol (BGP) router does not announce BGP routes to peers.
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