-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update package-lock.json * Update deno deps * Update readme and docs * Fix docker file * Fix relative path in docker copy * Fix frontend settings * Add check for production mode that frontend settings do not throw erros.
- Loading branch information
Showing
8 changed files
with
2,589 additions
and
2,339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
{ | ||
"imports": { | ||
"std/": "https://deno.land/std@0.194.0/", | ||
"oak": "https://deno.land/x/oak@v12.6.0/mod.ts", | ||
"oak_logger": "https://deno.land/x/oak_logger@1.0.0/mod.ts", | ||
"cors": "https://deno.land/x/cors@v1.2.2/mod.ts", | ||
"zod": "https://deno.land/x/zod@v3.20.0/mod.ts", | ||
"denomander": "https://deno.land/x/denomander@0.9.3/mod.ts" | ||
}, | ||
"tasks": { | ||
"dev": "deno run --watch main.ts" | ||
}, | ||
"fmt": { | ||
"useTabs": false, | ||
"lineWidth": 80, | ||
"indentWidth": 4, | ||
"semiColons": true, | ||
"singleQuote": false, | ||
"proseWrap": "preserve", | ||
"include": [ | ||
"./**/*.ts" | ||
], | ||
"exclude": [] | ||
}, | ||
"lint": { | ||
"include": [ | ||
"./**/*.ts" | ||
], | ||
"exclude": [], | ||
"rules": { | ||
"tags": [ | ||
"recommended" | ||
], | ||
"include": [], | ||
"exclude": [ | ||
"ban-untagged-todo", | ||
"import-prefix-missing" | ||
] | ||
} | ||
"imports": { | ||
"std/": "https://deno.land/std@0.218.0/", | ||
"oak": "https://deno.land/x/oak@v12.6.2/mod.ts", | ||
"oak_logger": "https://deno.land/x/oak_logger@1.0.0/mod.ts", | ||
"cors": "https://deno.land/x/cors@v1.2.2/mod.ts", | ||
"zod": "https://deno.land/x/zod@v3.22.4/mod.ts", | ||
"denomander": "https://deno.land/x/denomander@0.9.3/mod.ts" | ||
}, | ||
"tasks": { | ||
"dev": "deno run --watch main.ts" | ||
}, | ||
"fmt": { | ||
"useTabs": false, | ||
"lineWidth": 80, | ||
"indentWidth": 4, | ||
"semiColons": true, | ||
"singleQuote": false, | ||
"proseWrap": "preserve", | ||
"include": [ | ||
"./**/*.ts" | ||
], | ||
"exclude": [] | ||
}, | ||
"lint": { | ||
"include": [ | ||
"./**/*.ts" | ||
], | ||
"exclude": [], | ||
"rules": { | ||
"tags": [ | ||
"recommended" | ||
], | ||
"include": [], | ||
"exclude": [ | ||
"ban-untagged-todo", | ||
"import-prefix-missing" | ||
] | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const DBNAME = 'notify-db'; | ||
export const DBVERSION = 1; | ||
// if you want to run the gui separate from the api, change this to to your api location example: "http://localhost:8787/api" | ||
export const APIBASE = process ? process?.env?.PREACT_APP_BACKEND_URL ?? "/api" : "/api"; | ||
export const APIBASE = (typeof process !== 'undefined') ? process?.env?.PREACT_APP_BACKEND_URL ?? "/api" : "/api"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters