qa: Fix generation

This commit is contained in:
nemunaire 2023-02-19 12:28:04 +01:00
parent 3fb7c6e772
commit 26911181a2
3 changed files with 4 additions and 4 deletions

View file

@ -31,8 +31,8 @@ func getIndexHtml(w io.Writer, file io.Reader) []byte {
bytes.Replace(
bytes.Replace(
indexTmpl,
[]byte("{{.urlbase}}"),
good_base,
[]byte(`<base href="/">`),
[]byte(`<base href="`+string(good_base)+`">`),
-1,
),
[]byte("\"/_app/"),

View file

@ -1,4 +1,5 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {

View file

@ -4,8 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<base href="{{.urlbase}}">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<base href="/">
<meta name="author" content="EPITA Laboratoire SRS">
<meta name="robots" content="none">
%sveltekit.head%