From bff4f6c1a666f7e4c1973646c6dc4dc4b2882db6 Mon Sep 17 00:00:00 2001 From: 186526 Date: Sat, 30 Apr 2022 15:53:11 +0800 Subject: [PATCH] Update --- .drone.yml | 2 +- index.html | 11 ++++++++--- vite.config.js | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index e6c2077..e3e5587 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,5 +21,5 @@ steps: secret_key: from_secret: s3_secret_key source: dist/**/* - target: /dist/ + target: /dist path_style: true \ No newline at end of file diff --git a/index.html b/index.html index 3eb768a..c054c57 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ It's me, 186526! - + @@ -74,7 +74,7 @@
- avatar + avatar

It's me, 186526!

一个啥都不会的屑 @@ -138,7 +138,12 @@ Moe ICP 20218600 - + + + + +

Running on 186526 Network.

diff --git a/vite.config.js b/vite.config.js index aeb4d70..9cdb779 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,6 +5,7 @@ import legacy from '@vitejs/plugin-legacy'; * @type {import('vite').UserConfig} */ const config = { + base: './', define: { '__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replace("\n",""), '__APP_BUILD_TIME': Math.floor(Date.now() / 1000),