Skip to content

Commit

Permalink
rebuild consile to incorporate fixed nignx config
Browse files Browse the repository at this point in the history
  • Loading branch information
suculent committed Nov 19, 2023
1 parent 91fd77a commit 19e0006
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,15 +388,15 @@ workflows:
- main
- master

# - build-console-classic:
# context:
# - thinx-docker-repo
# - console
# filters:
# branches:
# only:
# - thinx-staging
# - master
- build-console-classic:
context:
- thinx-docker-repo
- console
filters:
branches:
only:
- thinx-staging
- master

# - build-console-cloud:
# context:
Expand Down
5 changes: 5 additions & 0 deletions lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ module.exports = function (app) {
// Default content-type, may be overridden later by Util.responder and others
res.header("Content-Type", "text/html; charset=utf-8");

if (req.header.host !== app_config.public_url) {
console.log("[warning] host header mismatch, possible hacking attempt...");
}


//
// JWT Key Authentication
//
Expand Down
2 changes: 1 addition & 1 deletion services/console

0 comments on commit 19e0006

Please sign in to comment.