Skip to content

Cannot Create Output #80

Answered by Foxtrek64
Foxtrek64 asked this question in Q&A
Jun 19, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I believe I found the answer. Earlier in my log, visible in debug mode, I have this line:

Downloading resource from https://www.luzfaltex.com/assets/img/favicon.svg to mirror/www.luzfaltex.com/assets/img/favicon.svg

For some reason, it thinks this is an external site. The asset is being defined as so:

@{
    var favicon = ExecutionContext.GetLink("assets/img/favicon.svg", true);
}
<!doctype html>
<html lang="en">
<head>
    <!-- snip! -->
    <link rel="icon" href="@favicon">
    <!-- snip! -->
</head>

Edit: setting the includeHost parameter of Execution.GetLink() to false resolves the issue. Looks like this may be where the issue is coming into play. For some reason, even though the Host

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@daveaglick
Comment options

@Foxtrek64
Comment options

@daveaglick
Comment options

Answer selected by Foxtrek64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants