Skip to content

Commit

Permalink
Change localhost back to schema.cassproject.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristin committed Feb 20, 2019
1 parent 8bdb782 commit 48dd69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/c-adapter/asn/asn.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ function importJsonLdGraph(graph, context) {

if (context != undefined) {
if (context == "http://credreg.net/ctdlasn/schema/context/json") {
context = "http://localhost:8001/0.3/ceasn2cassConcepts";
context = "http://schema.cassproject.org/0.3/ceasn2cassConcepts";
}
if (context["schema"] == undefined) {
context["schema"] = "http://schema.org";
Expand All @@ -483,7 +483,7 @@ function importJsonLdGraph(graph, context) {
var expanded = jsonLdExpand(JSON.stringify(graphObj))[0];
var compacted;
if (graphObj["@type"].indexOf("Concept") != -1) {
compacted = jsonLdCompact(JSON.stringify(expanded), "http://localhost:8001/0.3/skos/index.json-ld");
compacted = jsonLdCompact(JSON.stringify(expanded), "http://schema.cassproject.org/0.3/skos");
}
else {
compacted = jsonLdCompact(JSON.stringify(expanded), "http://schema.cassproject.org/0.3/");
Expand Down

0 comments on commit 48dd69c

Please sign in to comment.