diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 0000000..6a367e1
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,2 @@
+node_modules
+deploy-server/node_modules
diff --git a/.gitignore b/.gitignore
index cd3be6d..82b77d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@ out
# dependencies
node_modules
+deploy-server/node_modules
# logs
npm-debug.log
diff --git a/env-config.js b/env-config.js
index 689e728..b62a489 100644
--- a/env-config.js
+++ b/env-config.js
@@ -6,5 +6,7 @@ const { NODE_ENV } = process.env
module.exports = {
VERSION: require('./package').version,
'process.env.NODE_ENV': NODE_ENV,
- ASSETS_URL: '/static'
+ IMAGE_ASSETS_URL: '/static',
+ VIDEO_ASSETS_URL: '/static',
+ RAW_ASSETS_URL: '/static'
}
diff --git a/package.json b/package.json
index 6ee442e..570a52c 100644
--- a/package.json
+++ b/package.json
@@ -87,7 +87,9 @@
],
"globals": {
"VERSION": true,
- "ASSETS_URL": true
+ "IMAGE_ASSETS_URL": true,
+ "VIDEO_ASSETS_URL": true,
+ "RAW_ASSETS_URL": true
},
"env": {
"es6": true,
diff --git a/pages/docs/deployment-types/lifecycle.js b/pages/docs/deployment-types/lifecycle.js
index 280f9df..e7586bd 100644
--- a/pages/docs/deployment-types/lifecycle.js
+++ b/pages/docs/deployment-types/lifecycle.js
@@ -19,7 +19,7 @@ In this guide, we are going to have a look at how ${} deploy
${
diff --git a/pages/docs/examples/chat.js b/pages/docs/examples/chat.js
index 09a94ab..ef58f77 100644
--- a/pages/docs/examples/chat.js
+++ b/pages/docs/examples/chat.js
@@ -79,7 +79,7 @@ Now, when running \`node index\` inside your terminal, you should see the follow
${
@@ -89,7 +89,7 @@ And when pointing your browser to the address shown (\`http://localhost:4000\`):
${
@@ -136,7 +136,7 @@ If you restart the process (by hitting \`control + C\` and running \`node index\
${
@@ -197,7 +197,7 @@ Try opening several tabs, and you’ll see several messages:
${
@@ -221,7 +221,7 @@ Then if you refresh a tab several times you can see it in action:
${
@@ -330,7 +330,7 @@ And that completes our chat application, in about **20 lines of code**! You can
${
diff --git a/pages/docs/examples/graphql.js b/pages/docs/examples/graphql.js
index 7c2bffe..0a01041 100644
--- a/pages/docs/examples/graphql.js
+++ b/pages/docs/examples/graphql.js
@@ -119,7 +119,7 @@ Now you should be able to run \`npm start\` inside the directory containing the
${
@@ -258,7 +258,7 @@ In the browser, the client should look like this:
${
diff --git a/pages/docs/examples/json-api.js b/pages/docs/examples/json-api.js
index cd87dfb..5030d08 100644
--- a/pages/docs/examples/json-api.js
+++ b/pages/docs/examples/json-api.js
@@ -87,7 +87,7 @@ Go to the URL returned (\`http://0.0.0.0:3000\`) and you should see something li
${
@@ -141,7 +141,7 @@ Assuming that you've followed this post to this point, you should now see able t
${
diff --git a/pages/docs/examples/next.js b/pages/docs/examples/next.js
index 9ee2871..74a4b48 100644
--- a/pages/docs/examples/next.js
+++ b/pages/docs/examples/next.js
@@ -102,7 +102,7 @@ This is how it should look:
${
@@ -112,7 +112,7 @@ You can now go to in your browser and see the rendered m
${
diff --git a/pages/docs/examples/slack-slash.js b/pages/docs/examples/slack-slash.js
index c42895b..4839ac3 100644
--- a/pages/docs/examples/slack-slash.js
+++ b/pages/docs/examples/slack-slash.js
@@ -112,7 +112,7 @@ Telling Slack about the command is pretty easy. As the first step, you need to s
${
@@ -126,7 +126,7 @@ Optionally, you can also make the command show up in the autocomplete help in th
${
diff --git a/pages/docs/examples/static.js b/pages/docs/examples/static.js
index 12aa3e4..27fb3f9 100644
--- a/pages/docs/examples/static.js
+++ b/pages/docs/examples/static.js
@@ -57,7 +57,7 @@ This is how it will look in the browser when opening the file:
${
diff --git a/pages/docs/features/aliases.js b/pages/docs/features/aliases.js
index 2de1246..be611f3 100644
--- a/pages/docs/features/aliases.js
+++ b/pages/docs/features/aliases.js
@@ -62,7 +62,7 @@ For example, let's say I want \`https://get-started-basic-etjnigdrkz.now.sh\`
${
@@ -101,7 +101,7 @@ After this successful message, my deployment is instantly available via its orig
${
@@ -79,7 +79,7 @@ ${
${
@@ -92,7 +92,7 @@ In the following screenshot we have a page rule that turns off encryption when a
${
diff --git a/pages/docs/features/path-aliases.js b/pages/docs/features/path-aliases.js
index 0c5efab..0dae4ac 100644
--- a/pages/docs/features/path-aliases.js
+++ b/pages/docs/features/path-aliases.js
@@ -36,7 +36,7 @@ For example, if you deploy our [Node.js microservice](https://github.com/now-exa
${
diff --git a/pages/docs/features/repositories.js b/pages/docs/features/repositories.js
index 053d78d..4b9c363 100644
--- a/pages/docs/features/repositories.js
+++ b/pages/docs/features/repositories.js
@@ -51,7 +51,7 @@ Once ${} fetches the repository, you'll see just what you're
${
diff --git a/pages/docs/getting-started/assign-a-domain-name.js b/pages/docs/getting-started/assign-a-domain-name.js
index 12238f7..c1f0e13 100644
--- a/pages/docs/getting-started/assign-a-domain-name.js
+++ b/pages/docs/getting-started/assign-a-domain-name.js
@@ -25,7 +25,7 @@ Hence, you need a fixed domain name.
${
} will handle all the technical det
${
now}
${} will deploy the app and give you a URL as shown below.
${}, you need to install a small utilit
${
now logs --help}
${
now logs -a -q "GET" -n 10 my-web-app.com}
${
} will set the \`min\` and \`max\` instance s
${
} will automatically start and kill instances based on the
${
{`now secrets --help`}}
${