aboutsummaryrefslogtreecommitdiffstats
path: root/app/static/scripts/rebuild.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/static/scripts/rebuild.js')
-rw-r--r--app/static/scripts/rebuild.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/static/scripts/rebuild.js b/app/static/scripts/rebuild.js
deleted file mode 100644
index 8fd0e2e..0000000
--- a/app/static/scripts/rebuild.js
+++ /dev/null
@@ -1,14 +0,0 @@
-$(() => {
- $('#confirm').click(() => {
- $.ajax({
- type: 'GET',
- url: `/special/rebuild/confirm`,
- success: () => {
- $('#response').html('<div class=\'box\'>Successfully rebuilt page directory.</div>');
- },
- error: () => {
- $('#response').html('<div class=\'box\'>Could not rebuild page directory. Try again later.</div>');
- }
- });
- });
-});