Compare commits

..

No commits in common. "33f38f42cc725eb4f992293a4216c432ae56bd67" and "0d09ac6eb1c9d05adbead5582e3a0aa14c690c1b" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

@ -6,11 +6,11 @@ aliyun-oss:
bucket-url: yourBucketUrl
base-path: yourBasePath
autocode:
web: ../web/src # 默认前端目录为web/src启用1panel的go开发环境需要在把前端web映射到后端容器内不然无法生成前端代码
web: web/src
root: /
server: app # 默认后端目录为server启用1panel中的go开发环境后端目录为app
module: github.com/flipped-aurora/gin-vue-admin/server
ai-path: "https://ai.gin-vue-admin.com/{FUNC}/SysProChan/cc51f596-f510-46e8-9206-4508d33eae37"
ai-path: ""
aws-s3:
bucket: xxxxx-10005608
region: ap-shanghai

View File

@ -63,11 +63,7 @@ const vueFilePathPlugin = (outputFilePath) => {
return html.replace(
'</body>',
`<script>
const isWindowActive = () => !document.hidden;
window.addEventListener('beforeunload', function () {
if (!isWindowActive()) {
return;
}
fetch('/generate-path-name-map');
});
</script></body>`