JokerQyou / snextensions

A set of open source extensions for StandardNotes you can self-host.
https://snext.netlify.app/index.json
67 stars 34 forks source link

After changing the Site name in something readable the extensions don’t work anymore #7

Closed BobWs closed 4 years ago

BobWs commented 4 years ago

Hi, I followed your steps as described to create a Netlify account and deploy the site. After this is successfully done I have tested it with SN and it was working, I could install the extensions and is was working on different devices.

But the problem arises when I change the name off the site in Netify into something better readable. I tried the new link with a new account I have created in standardnotes and I can install the extensions and I see them in the app menu, but I cannot created and write any notes. I keep seeing an error message “not found”

0D763FC8-7E2B-4AC6-9306-3E695F458CE7

To test my theory I deleted the site with the readable name from Netlify and created a new one. This time I didn’t change the name and used the auto generated link in Standardnotes to install the extensions, and it is working as should.

So I’m wondering what is going wrong when changing the name for it not to work?

JokerQyou commented 4 years ago

Thanks for the report! I've not yet tested changing the sitename of Netlify site. I'll test it tonight (GMT+8) and investigate a little more.

JokerQyou commented 4 years ago

There are several issues regarding sitename changing:

You can manually trigger a deployment, which will run the build script again so the resource URLs of each plugins can be updated to the new site URL. You can do so via the Netlify web UI: go to your site > Deploys, on the top right corner of your deploys list, click Trigger Deploy > Clear cache and deploy site.

Picture
BobWs commented 4 years ago

Okay thanks for explaining I will give it a try.

BobWs commented 4 years ago

Thanks it worked! Maybe an idea to add this to the readme section?

JokerQyou commented 4 years ago

The README has been updated.