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>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="referrer" content="no-referrer">
|
<meta name="referrer" content="no-referrer">
|
||||||
<link rel="icon" href="avatar.svg" type="image/svg+xml;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">
|
<link rel="stylesheet" href="/style/index.css" type="text/css;charset=UTF-8">
|
||||||
<title>nwex.de</title>
|
<title>nwex.de</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -93,9 +93,9 @@
|
||||||
<!-- Inner workings of the page -->
|
<!-- Inner workings of the page -->
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { tokenize, normalizeNewlines, highlight } from './script/html.js';
|
import { tokenize, normalizeNewlines, highlight } from '/script/html.js';
|
||||||
import { render } from './script/view.js';
|
import { render } from '/script/view.js';
|
||||||
import { Inspector } from './script/html/inspector.js';
|
import { Inspector } from '/script/html/inspector.js';
|
||||||
|
|
||||||
const response = await fetch(window.location.href);
|
const response = await fetch(window.location.href);
|
||||||
const text = await response.text();
|
const text = await response.text();
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="referrer" content="no-referrer">
|
<meta name="referrer" content="no-referrer">
|
||||||
<link rel="icon" href="avatar.svg" type="image/svg+xml;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">
|
<link rel="stylesheet" href="/style/index.css" type="text/css;charset=UTF-8">
|
||||||
<title>nwex.de/webfinger</title>
|
<title>nwex.de/webfinger</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -36,9 +36,9 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { tokenize, normalizeNewlines, highlight } from './script/html.js';
|
import { tokenize, normalizeNewlines, highlight } from '/script/html.js';
|
||||||
import { render } from './script/view.js';
|
import { render } from '/script/view.js';
|
||||||
import { Inspector } from './script/html/inspector.js';
|
import { Inspector } from '/script/html/inspector.js';
|
||||||
|
|
||||||
const response = await fetch(window.location.href);
|
const response = await fetch(window.location.href);
|
||||||
const text = await response.text();
|
const text = await response.text();
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="referrer" content="no-referrer">
|
<meta name="referrer" content="no-referrer">
|
||||||
<link rel="icon" href="avatar.svg" type="image/svg+xml;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">
|
<link rel="stylesheet" href="/style/index.css" type="text/css;charset=UTF-8">
|
||||||
<title>nwex.de/xhr</title>
|
<title>nwex.de/xhr</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -93,9 +93,9 @@
|
||||||
<!-- Inner workings of the page -->
|
<!-- Inner workings of the page -->
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { tokenize, normalizeNewlines, highlight } from './script/html.js';
|
import { tokenize, normalizeNewlines, highlight } from '/script/html.js';
|
||||||
import { render } from './script/view.js';
|
import { render } from '/script/view.js';
|
||||||
import { Inspector } from './script/html/inspector.js';
|
import { Inspector } from '/script/html/inspector.js';
|
||||||
|
|
||||||
const request = new XMLHttpRequest();
|
const request = new XMLHttpRequest();
|
||||||
request.addEventListener("load", async function() {
|
request.addEventListener("load", async function() {
|
||||||
|
|
Loading…
Reference in a new issue