mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 19:40:53 +08:00
to: 添加前端静态资源请求版本号,防止更新导致的缓存
This commit is contained in:
@@ -1,34 +1,33 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
|
||||
<title>{{$title}}</title>
|
||||
<script type="module" crossorigin src="/theme/{{$theme}}/assets/umi.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script>
|
||||
window.routerBase = "/";
|
||||
window.settings = {
|
||||
title: '{{$title}}',
|
||||
assets_path: '/theme/{{$theme}}/assets',
|
||||
version: '{{$version}}',
|
||||
background_url: '{{$theme_config['background_url']}}',
|
||||
description: '{{$description}}',
|
||||
i18n: [
|
||||
'zh-CN',
|
||||
'en-US',
|
||||
'ja-JP',
|
||||
'vi-VN',
|
||||
'ko-KR',
|
||||
'zh-TW',
|
||||
'fa-IR'
|
||||
],
|
||||
logo: '{{$logo}}'
|
||||
}
|
||||
</script>
|
||||
<div id="app"></div>
|
||||
{!! $theme_config['custom_html'] !!}
|
||||
</body>
|
||||
</html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
|
||||
<title>{{$title}}</title>
|
||||
<script type="module" crossorigin src="/theme/{{$theme}}/assets/umi.js?v={{$version}}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
window.routerBase = "/";
|
||||
window.settings = {
|
||||
title: '{{$title}}',
|
||||
assets_path: '/theme/{{$theme}}/assets',
|
||||
version: '{{$version}}',
|
||||
background_url: '{{$theme_config['background_url']}}',
|
||||
description: '{{$description}}',
|
||||
i18n: [
|
||||
'zh-CN',
|
||||
'en-US',
|
||||
'ja-JP',
|
||||
'vi-VN',
|
||||
'ko-KR',
|
||||
'zh-TW',
|
||||
'fa-IR'
|
||||
],
|
||||
logo: '{{$logo}}'
|
||||
}
|
||||
</script>
|
||||
<div id="app"></div>
|
||||
{!! $theme_config['custom_html'] !!}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user