Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
78566769
Commit
78566769
authored
Nov 30, 2017
by
Colby Gutierrez-Kraybill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up lint errors
parent
66edcb60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
bin/configure-fastly.js
bin/configure-fastly.js
+3
-7
No files found.
bin/configure-fastly.js
View file @
78566769
...
...
@@ -42,10 +42,6 @@ async.auto({
// on any of those route conditions.
var
notPassStatement
=
fastlyConfig
.
getAppRouteCondition
(
'
../build/*
'
,
routes
,
extraAppRoutes
,
__dirname
);
// For all the routes in routes.json, construct a varnish-style regex that matches
// only if NONE of those routes are matched.
var
passStatement
=
fastlyConfig
.
negateConditionStatement
(
notPassStatement
);
// For a non-pass condition, point backend at s3
var
recvCondition
=
''
+
'
if (
'
+
notPassStatement
+
'
) {
\n
'
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment