I want to create two frotnend applications:
- one at
/person/*
- one at
/*
except/person/*
How to do this with IC? What should I put into dfx.json
and in two package.json
files?
"canisters": {
"frontend": {
"frontend": {
"entrypoint": "src/frontend/src/index.html"
},
"source": [
"src/frontend/assets",
"dist/frontend/"
...?
],
"type": "assets",
"dependencies": ["main"]
},
Note that I want this instead of using just one app to reduce load time of the /*
app, because /person/*
is heavyweight.
An alternative considered: Two separate canisters with custom origins.