Skip to content

Commit

Permalink
refactor: convenient for strings containing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheckzen authored Sep 26, 2024
1 parent a702d03 commit 856038b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions front-end/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
<html>
<head>
<script>
/**
* SCF_GATEWAY:SCF 云函数网关地址
* SITE_NAME:站点名称
*/
window.GLOBAL_CONFIG = {
SCF_GATEWAY: '//tight-bar-e3b3.logi.workers.dev',
SITE_NAME: 'FODI',
SCF_GATEWAY: `//tight-bar-e3b3.logi.workers.dev`, // Worker 或云函数网关地址
SITE_NAME: `FODI`, // 站点名称
IS_CF: true,
};
// if (window.GLOBAL_CONFIG.SCF_GATEWAY.indexOf("workers") === -1) {
Expand Down

0 comments on commit 856038b

Please sign in to comment.