-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathspandx.config.js
32 lines (30 loc) · 965 Bytes
/
spandx.config.js
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
28
29
30
31
32
module.exports = {
host: {
local: "localhost",
},
port: "auto",
open: !true,
startPath: "/",
verbose: true,
routes: {
// Here are some routing examples to get started.
// Route a URL path to an app server.
// This is most useful for testing local files (esp JS and CSS) against
// a remote QA or production server.
"/foo/bar": {
host: {
local: "http://localhost:8081",
},
path: "/",
},
"/baz/bat": {
host: {
local: "http://localhost:8081",
},
},
// Route a URL path to an app server, and watch local files for changes.
// This is most useful for putting a local development at a certain
// path on your spandx server. Includes browser-sync auto-reloading.
// '/': { host: 'http://localhost:8080/', watch: '~/projects/my-app' },
},
};