Public: Use absolute paths for local resources
This commit is contained in:
parent
3285a6a81f
commit
a8f340a7c5
3 changed files with 15 additions and 15 deletions
|
@ -3,8 +3,8 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="referrer" content="no-referrer">
|
||||
<link rel="icon" href="avatar.svg" type="image/svg+xml;charset=UTF-8">
|
||||
<link rel="stylesheet" href="style/index.css" type="text/css;charset=UTF-8">
|
||||
<link rel="icon" href="/avatar.svg" type="image/svg+xml;charset=UTF-8">
|
||||
<link rel="stylesheet" href="/style/index.css" type="text/css;charset=UTF-8">
|
||||
<title>nwex.de</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -93,9 +93,9 @@
|
|||
<!-- Inner workings of the page -->
|
||||
|
||||
<script type="module">
|
||||
import { tokenize, normalizeNewlines, highlight } from './script/html.js';
|
||||
import { render } from './script/view.js';
|
||||
import { Inspector } from './script/html/inspector.js';
|
||||
import { tokenize, normalizeNewlines, highlight } from '/script/html.js';
|
||||
import { render } from '/script/view.js';
|
||||
import { Inspector } from '/script/html/inspector.js';
|
||||
|
||||
const response = await fetch(window.location.href);
|
||||
const text = await response.text();
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="referrer" content="no-referrer">
|
||||
<link rel="icon" href="avatar.svg" type="image/svg+xml;charset=UTF-8">
|
||||
<link rel="stylesheet" href="style/index.css" type="text/css;charset=UTF-8">
|
||||
<link rel="icon" href="/avatar.svg" type="image/svg+xml;charset=UTF-8">
|
||||
<link rel="stylesheet" href="/style/index.css" type="text/css;charset=UTF-8">
|
||||
<title>nwex.de/webfinger</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -36,9 +36,9 @@
|
|||
</section>
|
||||
|
||||
<script type="module">
|
||||
import { tokenize, normalizeNewlines, highlight } from './script/html.js';
|
||||
import { render } from './script/view.js';
|
||||
import { Inspector } from './script/html/inspector.js';
|
||||
import { tokenize, normalizeNewlines, highlight } from '/script/html.js';
|
||||
import { render } from '/script/view.js';
|
||||
import { Inspector } from '/script/html/inspector.js';
|
||||
|
||||
const response = await fetch(window.location.href);
|
||||
const text = await response.text();
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="referrer" content="no-referrer">
|
||||
<link rel="icon" href="avatar.svg" type="image/svg+xml;charset=UTF-8">
|
||||
<link rel="stylesheet" href="style/index.css" type="text/css;charset=UTF-8">
|
||||
<link rel="icon" href="/avatar.svg" type="image/svg+xml;charset=UTF-8">
|
||||
<link rel="stylesheet" href="/style/index.css" type="text/css;charset=UTF-8">
|
||||
<title>nwex.de/xhr</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -93,9 +93,9 @@
|
|||
<!-- Inner workings of the page -->
|
||||
|
||||
<script type="module">
|
||||
import { tokenize, normalizeNewlines, highlight } from './script/html.js';
|
||||
import { render } from './script/view.js';
|
||||
import { Inspector } from './script/html/inspector.js';
|
||||
import { tokenize, normalizeNewlines, highlight } from '/script/html.js';
|
||||
import { render } from '/script/view.js';
|
||||
import { Inspector } from '/script/html/inspector.js';
|
||||
|
||||
const request = new XMLHttpRequest();
|
||||
request.addEventListener("load", async function() {
|
||||
|
|
Loading…
Reference in a new issue