Skip to content

Commit

Permalink
TS changes for deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
santi-g-s committed May 12, 2023
1 parent 2e9181d commit c90355b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/src/services/mail.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import SGmail, { MailDataRequired } from '@sendgrid/mail';

const appName = 'BTS Dashboard'; // Replace with a relevant project name
const senderName = 'Beat The Streets National'; // Replace with a relevant project sender
const baseUrl = 'http://localhost:3000'; // TODO: figure out better place to put this
const baseUrl = process.env.PUBLIC_URL ?? 'http://localhost:3000'; // TODO: figure out better place to put this

// eslint-disable-next-line no-useless-concat
SGmail.setApiKey(`${process.env.SENDGRID_API_KEY}`);
Expand Down
2 changes: 1 addition & 1 deletion server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"lib": ["es2021", "DOM"],
"module": "commonjs",
"moduleResolution": "Node",
"strict": true,
"strict": false,
"noImplicitOverride": true,
// Needed for CommonJS modules: markdown-it, fs-extra
"allowSyntheticDefaultImports": true,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */

/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"strict": false /* Enable all strict type-checking options. */,
"noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */,
// "strictNullChecks": true, /* Enable strict null checks. */
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
Expand Down

0 comments on commit c90355b

Please sign in to comment.