Skip to content

Commit

Permalink
Update base url
Browse files Browse the repository at this point in the history
  • Loading branch information
building-u committed Jul 14, 2024
1 parent 1d2cf82 commit 443ad69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ const cookieParser = require('cookie-parser');
const app = express();
const port = process.env.PORT || 5001;

// Set trust proxy
app.set('trust proxy', true);

//////Express MiddleWares//////////////
const prodOrigin = "https://buildingu.github.io";
Expand Down
2 changes: 1 addition & 1 deletion views/src/API/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

export const baseUrl = "https://building-u-feedback-api.building-u.com"
export const baseUrl = process.env.REACT_APP_BASE_URL;


//Use the below for local testing
Expand Down

0 comments on commit 443ad69

Please sign in to comment.