Skip to content

Commit 68db702

Browse files
committed
web: Purge CDN/NGINX configs
1 parent 48770e4 commit 68db702

9 files changed

Lines changed: 0 additions & 176 deletions

File tree

package-lock.json

Lines changed: 0 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "A chatbot for Pokémon Showdown",
55
"main": "src/index.js",
66
"scripts": {
7-
"build-configs": "bash ./scripts/build_nginx_confs.sh",
87
"lint": "eslint src --ext .ts",
98
"lint:fix": "eslint src --ext .ts --fix",
109
"notify-unpushed": "sh scripts/notify_unpushed.sh",

scripts/build_nginx_confs.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/globals/patches.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const baseConsoleError = console.error.bind(console);
88
const keyWarningPattern = 'Warning: Each child in a list should have a unique "key" prop.';
99
const valueFieldPattern = 'Warning: You provided a `value` prop to a form field without an `onChange` handler.';
1010

11-
// TODO: Patch out 'checked' warnings
12-
1311
console.error = function (...args) {
1412
if (typeof args[0] === 'string' && (args[0].startsWith(keyWarningPattern) || args[0].startsWith(valueFieldPattern))) {
1513
return;

src/web/cdn/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/web/cdn/not_found.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/web/configs/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/web/configs/cdn.conf.base

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/web/configs/partbot.conf.base

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)