Skip to content

Commit 6d35804

Browse files
committed
Fixed reload issue
1 parent feca07c commit 6d35804

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

frontend/dist/frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
});
4545

4646
</script>
47-
<script src="runtime.89bfad0fe920d2c9.js" type="module"></script><script src="polyfills.794d7387aea30963.js" type="module"></script><script src="main.cb75d6954a204369.js" type="module"></script>
47+
<script src="runtime.89bfad0fe920d2c9.js" type="module"></script><script src="polyfills.794d7387aea30963.js" type="module"></script><script src="main.ea5d448777f93853.js" type="module"></script>
4848

4949
</body></html>

frontend/dist/frontend/main.cb75d6954a204369.js renamed to frontend/dist/frontend/main.ea5d448777f93853.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const routes: Routes = [
7676
];
7777

7878
@NgModule({
79-
imports: [RouterModule.forRoot(routes)],
79+
imports: [RouterModule.forRoot(routes, { useHash: true })],
8080
exports: [RouterModule],
8181
providers: [AuthGuardService, RoleGuardService]
8282
})

lib/app/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import os
2-
31
import eel
42
from typing import List
53
from lib.app.service.auth import AuthService
@@ -16,7 +14,7 @@
1614
class AppManager:
1715

1816
VERSION: str = "1.0.0"
19-
SHUTDOWN_DELAY = 5
17+
SHUTDOWN_DELAY = 500
2018
SHUTDOWN_DELAY_IN_DEBUG_MODE = 600
2119

2220
def __init__(self):

0 commit comments

Comments
 (0)