···15154. go to `http://127.0.0.1:5179`
16165. for deployment change the `SITE_URL` variable in `src/lib/oauth/const.ts`
1717(e.g. for github pages: `https://your-username.github.io`) and set your base in `svelte.config.js`
1818-(e.g. for github pages: `base: '/your-repo-name/'`)
1818+(e.g. for github pages: `base: '/your-repo-name/'`) while keeping it as `''` in development.
1919+2020+```
2121+const config = {
2222+ // ...
2323+2424+ kit: {
2525+ // ...
19262727+ paths: {
2828+ base: process.env.NODE_ENV === 'development' ? '' : '/svelte-atproto-client-oauth'
2929+ }
3030+ }
3131+};
3232+```
20332134### or manually install in your own project
2235···556856696. for deployment change the `SITE_URL` variable in `src/lib/oauth/const.ts`
5770(e.g. for github pages: `https://your-username.github.io`) and set your base in `svelte.config.js`
5858-(e.g. for github pages: `base: '/your-repo-name/'`)
7171+(e.g. for github pages: `base: '/your-repo-name/'`) while keeping it as `''` in development.
7272+7373+```
7474+const config = {
7575+ // ...
7676+7777+ kit: {
7878+ // ...
7979+8080+ paths: {
8181+ base: process.env.NODE_ENV === 'development' ? '' : '/svelte-atproto-client-oauth'
8282+ }
8383+ }
8484+};
8585+```
598660876188## how to use