Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Aug 12, 2024
1 parent 4d47dad commit 864454d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/playground/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,20 @@

<script
src="./jwt-decode.js"
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script>
window.apiHost = "<%= process.env.APIHOST %>";
if (localStorage.getItem("apihost")){
window.apiHost = localStorage.getItem("apihost");
window.apihost = "<%= process.env.APIHOST %>";
}else{
window.apiHost = "<%= process.env.APIHOST %>";
window.apihost = "<%= process.env.APIHOST %>";
}
window.assetHost = "<%= process.env.ASSETSHOST %>";
// 论如何跳过天才群星闪耀时任务
window.apihost = "<%= process.env.APIHOST %>";
// 论天才群星闪耀时
window.assethost = "<%= process.env.ASSETSHOST %>";
var _pid = {};
Expand Down

0 comments on commit 864454d

Please sign in to comment.