Refactor: move src to folder (#63)

* move all source code to src/

* replace express response patch with middleware

* fix readdir not looking in src

* fix stray redirect

* add base to manifest

* remove secret.txt from src/config/secret

* add src/config/secret/secret.txt to gitignore
This commit is contained in:
Wingy 2022-12-10 12:04:07 -05:00 committed by GitHub
parent 363146c331
commit 0d7d73744c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1569 changed files with 25 additions and 1159 deletions

View file

@ -0,0 +1,9 @@
extends layout.pug
block content
h2= lang('ADMIN_CLEAR_WISHLISTS_HEADER')
p!= lang('ADMIN_CLEAR_WISHLISTS_DESCRIPTION')
form(method='POST', action=`${_CC.config.base}admin-settings/clear-wishlists`)
.field
.control
input.button.is-danger(type='submit' value=lang('ADMIN_CLEAR_WISHLISTS_BUTTON'))