使用环境变量

This commit is contained in:
2025-05-08 16:02:34 +08:00
parent eb9cda14ff
commit 33b6e242c3
7 changed files with 545 additions and 438 deletions

View File

@@ -12,7 +12,7 @@
<script
async
defer
src="https://maxkb.xuyue.cc/api/application/embed?protocol=https&host=maxkb.xuyue.cc&token=1b7cd529423b3f36"
src="<%= process.env.PUBLIC_MAXKB_URL %>/api/application/embed?protocol=<%= process.env.PUBLIC_PROTOCOL %>&<%= process.env.PUBLIC_MAXKB_URL %>&token=<%= process.env.PUBLIC_MAXKB_TOKEN %>"
></script>
</head>
<body>