Skip to content

Commit

Permalink
fix port
Browse files Browse the repository at this point in the history
  • Loading branch information
TuuKeZu committed Aug 16, 2024
1 parent c439646 commit 9e43ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const express = require('express');
const cors = require('cors');
const { user, password, host, port, authServer } = require('../secret.json');
const url = `mongodb://${user}:${password}@${host}:${port}/?authMechanism=DEFAULT&authSource=${authServer}`;
const { user, password, host, authServer } = require('../secret.json');
const url = `mongodb://${user}:${password}@${host}:27017/?authMechanism=DEFAULT&authSource=${authServer}`;

const sessions = require('./routers/sessions');
const themes = require('./routers/themes');
Expand Down

0 comments on commit 9e43ece

Please sign in to comment.