Skip to content

Deployment error #56346

Closed Answered by airtower-luna
2-GO asked this question in Pages
May 24, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Your page gets deployed to https://2-go.github.io/web-portfolio/, because the repository is named web-portfolio. So for example the favicon.ico will end up at https://2-go.github.io/web-portfolio/favicon.ico.

But your index.html has (hard to link directly, because it lacks proper line breaks 🙁):

<link rel="icon" href="/2-GO/web-portfolio/favicon.ico"/>

/2-GO/ and everything underneath simply doesn't exist on the server. Best would be to use a relative link (in the example: href="favicon.ico"), or alternatively fix the absolute path.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@2-GO
Comment options

@airtower-luna
Comment options

Answer selected by 2-GO
@2-GO
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question
2 participants