You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<title>入魔入佛</title>
|
|
<link rel="shortcut icon" href="favicon.png"/>
|
|
<link type="text/css" rel="stylesheet" href="/aieditor/css/style.css">
|
|
<script>
|
|
// PUBLIC CONFIG
|
|
(function () {
|
|
const config_data_str = localStorage.getItem('APP_CONFIG')
|
|
let config_data = {
|
|
token: '09445215-36E0-493A-A864-755EDABF175A',
|
|
api: {
|
|
url: [{
|
|
name: '开发环境',
|
|
url: 'http://127.0.0.1:8000',
|
|
active: true
|
|
}],
|
|
error_message: '网络请求发生错误',
|
|
error_code: [100002, 100003],
|
|
success_code: 200
|
|
},
|
|
title: document.title,
|
|
app_theme: '#1c8eee',
|
|
version: `${document.title} 14.0.1 [入魔入佛]`
|
|
}
|
|
window.CONFIG_RESET_DATA = JSON.parse(JSON.stringify(config_data))
|
|
if (!!config_data_str) config_data.api = JSON.parse(config_data_str).api
|
|
localStorage.setItem('APP_CONFIG', JSON.stringify(config_data))
|
|
})()
|
|
// PUBLIC CONFIG END
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.js"></script>
|
|
</body>
|
|
</html>
|