mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
add docker container
This commit is contained in:
11
src/files/Caddyfile
Normal file
11
src/files/Caddyfile
Normal file
@@ -0,0 +1,11 @@
|
||||
:80 {
|
||||
# Compress responses according to Accept-Encoding headers
|
||||
encode gzip zstd
|
||||
|
||||
root * /etc/caddy/html/
|
||||
|
||||
try_files {path} /index.html
|
||||
|
||||
# Serve everything else from the file system
|
||||
file_server
|
||||
}
|
||||
@@ -49,6 +49,7 @@ export default [
|
||||
{
|
||||
path: 'goods',
|
||||
name: 'user-goods',
|
||||
alias: 'point',
|
||||
component: () => import('@/views/pointViews/PointGoodsView.vue'),
|
||||
meta: {
|
||||
title: '积分兑换',
|
||||
|
||||
@@ -386,8 +386,8 @@ onMounted(() => { })
|
||||
</NDivider>
|
||||
<NFlex align="center">
|
||||
<NInputGroup style="max-width: 400px;">
|
||||
<NInput :value="`${useCNUrl ? CN_HOST : CURRENT_HOST}@${accountInfo.name}/point`" readonly />
|
||||
<NButton secondary @click="copyToClipboard(`${useCNUrl ? CN_HOST : CURRENT_HOST}@${accountInfo.name}/point`)">
|
||||
<NInput :value="`${useCNUrl ? CN_HOST : CURRENT_HOST}@${accountInfo.name}/goods`" readonly />
|
||||
<NButton secondary @click="copyToClipboard(`${useCNUrl ? CN_HOST : CURRENT_HOST}@${accountInfo.name}/goods`)">
|
||||
复制 </NButton>
|
||||
</NInputGroup>
|
||||
<NCheckbox v-model:checked="useCNUrl"> 使用国内镜像(访问更快) </NCheckbox>
|
||||
|
||||
Reference in New Issue
Block a user