Skip to content

Commit fa218e1

Browse files
committed
Add wikipedia for tests.
1 parent 87e9b53 commit fa218e1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ var _photoRoutes = require('./routes/photoRoutes'); var _photoRoutes2 = _interop
1818

1919
const whiteList = [
2020
'https://react.danielsilva.tk',
21-
'http://localhost:3000'
21+
'http://localhost:3000',
22+
'https://pt.wikipedia.org'
2223
]
2324

2425
const corsOptions = {

src/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ import photoRoutes from './routes/photoRoutes';
1818

1919
const whiteList = [
2020
'https://react.danielsilva.tk',
21-
'http://localhost:3000'
21+
'http://localhost:3000',
22+
'https://pt.wikipedia.org'
2223
]
2324

2425
const corsOptions = {

0 commit comments

Comments
 (0)