There are cleaner and more generic function, see Juno’s code for example but, this is just a quick & win suggestion that might do the tricks
Note also that if I get it right, in next version of agent-js the host will be set per default. Don’t know if correct and when this release would be scheduled.
So if I wait for the agent-js update it’ll work after that? Having the domain setup would be cool but I don’t want to break the app just before the gameweek starts with little time to test.
I think I read that on discord. @anon74414410 mentionned that next version of the agent will set per default the mainnet host and display a warning or something.
It was only merged last week but the last release was a month ago so it won’t be there until the next release. You could link the master branch with NPM: package.json | npm Docs
Thanks Kyle, I will update now. Would you be able to point me in the direction of the documentation in relation to setting the host explicitly in my code and I will implement it the recommended way.
Files appear in my dist before upgrading the canister:
If you could let me know what part of this process I’m missing that would be great, I’m also trying to do 8yearsgang.io but again I get the decode error.
It appears that your files are incorrectly located according your screenshots. The files should be present directly under the folder .well-known not under sub-directores.