Skip to content

Commit

Permalink
Merge pull request #19 from scienmanas/web-update
Browse files Browse the repository at this point in the history
Configure Backend
  • Loading branch information
scienmanas authored Aug 10, 2024
2 parents 4649b03 + 66e21e8 commit c44969c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Website/Backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import cors from "cors";
import { config } from "dotenv";
import { connectToDB } from "./config/db";
// Routes import
import certificatesRoute from "./routes/certificate.ts";
import authRoute from "./routes/auth.ts";
import certificatesRoute from "./routes/certificate";
import authRoute from "./routes/auth";

// Load the env
config();
Expand Down
4 changes: 2 additions & 2 deletions Website/Backend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
"allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
"allowImportingTsExtensions": false, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
// "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
// "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
Expand All @@ -57,7 +57,7 @@
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
"outDir": "./build", /* Specify an output folder for all emitted files. */
// "removeComments": true, /* Disable emitting comments. */
"noEmit": true, /* Disable emitting files from a compilation. */
"noEmit": false, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
Expand Down

0 comments on commit c44969c

Please sign in to comment.