-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js
More file actions
27 lines (23 loc) · 758 Bytes
/
Copy pathconfig.js
File metadata and controls
27 lines (23 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* Application configuration
*/
const host = process.env.SERVER_HOST || 'localhost'; // host name for server
const port = process.env.SERVER_PORT || 8000; // server port
const development = process.env.NODE_ENV !== 'production'; // should run in development mode
const proxyPort = process.env.DEV_SERVER_PORT || 9000; // development proxy port (webpack dev server)
module.exports = {
host: host,
port: port,
development: development,
proxyPort: proxyPort,
// Directory containing photos to display.
// If set to false no directory is scanned.
photosDir: 'photos',
previewLoader: {
// type of preview loader. supported values: filesystem, loremimage
type: 'filesystem',
config: {
photosDir: 'photos',
},
},
};