From ce4ff29591eb281c107099d8301eebdfe670c42e Mon Sep 17 00:00:00 2001 From: adibwp Date: Thu, 23 Oct 2025 17:10:31 +0700 Subject: [PATCH] disable dev routes and add .vscode to gitignore --- .gitignore | 1 + .vscode/settings.json | 3 --- cmd/main.go | 4 +++- 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 4e2b9dc..63c9664 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ config.yaml restapi.rest cpone.db coba.Http +.vscode/ \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 6f3a291..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "liveServer.settings.port": 5501 -} \ No newline at end of file diff --git a/cmd/main.go b/cmd/main.go index 4ecd273..6ce0659 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -60,8 +60,10 @@ func main() { handlers.SetupRoutesCorporate(app, appStore) // SETUP ROUT CLIENT handlers.SetupRoutesClient(app, appStore) + // SETUP ROUT DEV - handlers.SetupRoutesDev(app, appStore) + // handlers.SetupRoutesDev(app, appStore) + app.Logger.Fatal(app.Start(":5000")) }