mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Minor internal changes
This commit is contained in:
@@ -57,7 +57,7 @@ app.use('/sedimentary-structure', sedimentaryStructureRouter)
|
||||
app.use(errorHandler)
|
||||
|
||||
app.listen(PORT, async () => {
|
||||
logger.info(`Server running on port ${PORT} in "${RUNNING_ENV}"-mode`)
|
||||
logger.info(`Server running on port ${PORT} in "${RUNNING_ENV}"-mode.`)
|
||||
if (RUNNING_ENV === 'dev') {
|
||||
await testDbConnection()
|
||||
logger.info('Creating test-users...')
|
||||
|
||||
@@ -14,11 +14,8 @@ import {
|
||||
timeUnitPage,
|
||||
} from './components/pages'
|
||||
import { Notification, NotificationContextProvider } from './components/Notification'
|
||||
import { ENV } from './util/config'
|
||||
|
||||
const App = () => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Env: ', ENV)
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<NotificationContextProvider>
|
||||
|
||||
Reference in New Issue
Block a user