使用环境变量

This commit is contained in:
xuyue committed 2025-05-08 16:02:34 +08:00
1 parent eb9cda14ff
commit 33b6e242c3
7 files changed
+545 -438

No files matched your search

+1 -1
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>