Commit d3f871b3 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

feat: [domain] Use config domain to define the view URL

parent b9d1a818302d
......@@ -8,7 +8,7 @@
"resourceJs": [],
"resourceMain": {
"location": "remote",
"uri": "https://culture.pages.logilab.fr/culture-views/view_localisation.js"
"uri": "{DOMAIN}/view_localisation.js"
}
}
]
......@@ -17,7 +17,7 @@ const DESCRIPTOR_LOCALISATION: definition.ViewDescriptor = {
resourceJs: [],
resourceMain: {
location: 'remote',
uri: 'https://culture.pages.logilab.fr/culture-views/view_localisation.js',
uri: `${process.env.DOMAIN ?? "http://localhost:8080"}/view_localisation.js`,
} as definition.ViewResourceRemote,
};
......
Supports Markdown
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