add docker container

This commit is contained in:
2025-03-19 10:19:19 +08:00
parent b8b73ba6f2
commit 4eb69ca8f1
5 changed files with 54 additions and 2 deletions

11
src/files/Caddyfile Normal file
View 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
}

View File

@@ -49,6 +49,7 @@ export default [
{
path: 'goods',
name: 'user-goods',
alias: 'point',
component: () => import('@/views/pointViews/PointGoodsView.vue'),
meta: {
title: '积分兑换',

View File

@@ -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>