Add base directory support
- Base directory can be changed in config.py from the default / to, for example, /taiko-web/ - See tools/nginx_subdir.conf for an example nginx configuration with a base directory - Custom error pages can be used, they can be set in config.py
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap" rel="stylesheet">
|
||||
<link href="/src/css/admin.css" rel="stylesheet">
|
||||
<link href="{{config.basedir}}src/css/admin.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="nav">
|
||||
<a href="/admin/songs">Songs</a>
|
||||
<a href="/admin/users">Users</a>
|
||||
<a href="{{config.basedir}}admin/songs">Songs</a>
|
||||
<a href="{{config.basedir}}admin/users">Users</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user