diff --git a/public/404.php b/public/404.php index 8595e6b212e65a01cac2386acb2699f7b1ca65c3..e11fe4d11d4bb7daf41c79ba004fe01730bd9534 100644 --- a/public/404.php +++ b/public/404.php @@ -55,6 +55,6 @@ if (strpos($_SERVER['HTTP_HOST'], '.onion') !== false) { ]; </script> -<script src="/js/error.js"></script> +<script src="/js/script.js"></script> </body> </html> \ No newline at end of file diff --git a/public/internal/500.php b/public/internal/500.php index 9bf6fc2c503d072b02158776d6b57402477d49d2..1d9834f8860e2515612f5e55d9fa110bbccf35ce 100644 --- a/public/internal/500.php +++ b/public/internal/500.php @@ -58,7 +58,7 @@ function getError500() ]; </script> - <script src="/js/error.js"></script> + <script src="/js/script.js"></script> </body> </html> EOF; diff --git a/public/internal/footer.php b/public/internal/footer.php index fcb17377a5fec7330c98e5f91bba780c671fc340..b764de2c5a687392dc636f048a2e6584145bb8d3 100644 --- a/public/internal/footer.php +++ b/public/internal/footer.php @@ -49,14 +49,10 @@ function getFooter(){ We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. <a class="cookieinfo-link" href="http://wikipedia.org/wiki/HTTP_cookie">More info</a> </span> </div> - <script src="/js/cookie.js"></script> + <script src="/js/script.js"></script> <script> checkHide(); </script> - <script src="/js/includeHTML.js"></script> - <script src="/js/burgerMenu.js"></script> - <script src="/js/dialog.js"></script> - <script src="/js/imgPreview.js"></script> </body> </html> EOF); diff --git a/tsconfig.json b/tsconfig.json index d8505e19f420032f6eaaafd1392775e7e711818b..c24048bd256f020a6d93e4d3f699477a31607fc1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ /* Basic Options */ // "incremental": true, /* Enable incremental compilation */ "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ + "module": "system", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ // "lib": [], /* Specify library files to be included in the compilation. */ // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ @@ -13,7 +13,7 @@ // "declaration": true, /* Generates corresponding '.d.ts' file. */ // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ // "sourceMap": true, /* Generates corresponding '.map' file. */ - // "outFile": "./", /* Concatenate and emit output to single file. */ + "outFile": "./public/js/script.js", /* Concatenate and emit output to single file. */ "outDir": "./public/js", /* Redirect output structure to the directory. */ "rootDir": "./ts", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ // "composite": true, /* Enable project compilation */