qa: Fix generation
This commit is contained in:
parent
3fb7c6e772
commit
26911181a2
3 changed files with 4 additions and 4 deletions
|
@ -31,8 +31,8 @@ func getIndexHtml(w io.Writer, file io.Reader) []byte {
|
||||||
bytes.Replace(
|
bytes.Replace(
|
||||||
bytes.Replace(
|
bytes.Replace(
|
||||||
indexTmpl,
|
indexTmpl,
|
||||||
[]byte("{{.urlbase}}"),
|
[]byte(`<base href="/">`),
|
||||||
good_base,
|
[]byte(`<base href="`+string(good_base)+`">`),
|
||||||
-1,
|
-1,
|
||||||
),
|
),
|
||||||
[]byte("\"/_app/"),
|
[]byte("\"/_app/"),
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"extends": "./.svelte-kit/tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<base href="{{.urlbase}}">
|
<base href="/">
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
|
|
||||||
<meta name="author" content="EPITA Laboratoire SRS">
|
<meta name="author" content="EPITA Laboratoire SRS">
|
||||||
<meta name="robots" content="none">
|
<meta name="robots" content="none">
|
||||||
%sveltekit.head%
|
%sveltekit.head%
|
||||||
|
|
Reference in a new issue