Commit 130b19eb authored by Boris Kocherov's avatar Boris Kocherov

for cors passed use 127.0.0.1 instead localhost

parent 7c51de57
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
module(m.description); module(m.description);
schema = JSON.parse(replaceAll(JSON.stringify(m.schema), schema = JSON.parse(replaceAll(JSON.stringify(m.schema),
"http://localhost:1234/", "http://localhost:1234/",
"http://localhost:9000/node_modules/" + "http://127.0.0.1:9000/node_modules/" +
"json-schema-test-suite/remotes/")); "json-schema-test-suite/remotes/"));
for (z = 0; z < m.tests.length; z += 1) { for (z = 0; z < m.tests.length; z += 1) {
t = m.tests[z]; t = m.tests[z];
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
g.props.schemas.push(m.description); g.props.schemas.push(m.description);
g.props.documents[m.description] = []; g.props.documents[m.description] = [];
schema = JSON.parse(replaceAll(JSON.stringify(m.schema), "http://localhost:1234/", schema = JSON.parse(replaceAll(JSON.stringify(m.schema), "http://localhost:1234/",
"http://localhost:9000/node_modules/json-schema-test-suite/remotes/")); "http://127.0.0.1:9000/node_modules/json-schema-test-suite/remotes/"));
g.props.documents[m.description].push('undefined'); g.props.documents[m.description].push('undefined');
g.props.test_data[m.description + ': undefined'] = { g.props.test_data[m.description + ': undefined'] = {
schema: schema, schema: schema,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment