Skip to content

Commit

Permalink
fix host name revokation error
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzabuzaid committed Jun 6, 2019
1 parent c60d772 commit 84789de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/app/app.ts
Expand Up @@ -64,7 +64,10 @@ export class Application {
.use(compression())
.use(express.static(this.staticDirectory))
.use(express.static(this.uploadDirectory));

// TODO Security
// 1_ sql injection
// 2_ csrf
// 3_ xss
}

protected populateRoutes() {
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/database/database.ts
Expand Up @@ -36,7 +36,7 @@ class MongooseURI {
return this._path || '';
}
get host() {
return this._host ? `@${this.host}` : '';
return this._host ? `@${this._host}` : '';
}
get atlas() {
return this._atlas;
Expand Down
Binary file added src/public/sound.mp3
Binary file not shown.

0 comments on commit 84789de

Please sign in to comment.