A web app for writing and sharing 301+ character Bluesky posts.

OAuth changes

Minito 9bfe915c b00fe114

+37 -6
+2 -2
index.html
··· 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8" /> 5 - <link rel="icon" type="image/svg+xml" href="/vite.svg" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 7 - <title>skeetlonger</title> 8 </head> 9 <body> 10 <div id="root"></div>
··· 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8" /> 5 + <link rel="icon" type="image/x-icon" href="/favicon.ico" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 7 + <title>SkeetLonger</title> 8 </head> 9 <body> 10 <div id="root"></div>
public/favicon.ico

This is a binary file and will not be displayed.

public/logo192.png

This is a binary file and will not be displayed.

+21 -3
src/routeTree.gen.ts
··· 11 import { Route as rootRouteImport } from './routes/__root' 12 import { Route as AboutRouteImport } from './routes/about' 13 import { Route as IndexRouteImport } from './routes/index' 14 import { Route as PostUriRouteImport } from './routes/post/$uri' 15 16 const AboutRoute = AboutRouteImport.update({ ··· 21 const IndexRoute = IndexRouteImport.update({ 22 id: '/', 23 path: '/', 24 getParentRoute: () => rootRouteImport, 25 } as any) 26 const PostUriRoute = PostUriRouteImport.update({ ··· 33 '/': typeof IndexRoute 34 '/about': typeof AboutRoute 35 '/post/$uri': typeof PostUriRoute 36 } 37 export interface FileRoutesByTo { 38 '/': typeof IndexRoute 39 '/about': typeof AboutRoute 40 '/post/$uri': typeof PostUriRoute 41 } 42 export interface FileRoutesById { 43 __root__: typeof rootRouteImport 44 '/': typeof IndexRoute 45 '/about': typeof AboutRoute 46 '/post/$uri': typeof PostUriRoute 47 } 48 export interface FileRouteTypes { 49 fileRoutesByFullPath: FileRoutesByFullPath 50 - fullPaths: '/' | '/about' | '/post/$uri' 51 fileRoutesByTo: FileRoutesByTo 52 - to: '/' | '/about' | '/post/$uri' 53 - id: '__root__' | '/' | '/about' | '/post/$uri' 54 fileRoutesById: FileRoutesById 55 } 56 export interface RootRouteChildren { 57 IndexRoute: typeof IndexRoute 58 AboutRoute: typeof AboutRoute 59 PostUriRoute: typeof PostUriRoute 60 } 61 62 declare module '@tanstack/react-router' { ··· 75 preLoaderRoute: typeof IndexRouteImport 76 parentRoute: typeof rootRouteImport 77 } 78 '/post/$uri': { 79 id: '/post/$uri' 80 path: '/post/$uri' ··· 89 IndexRoute: IndexRoute, 90 AboutRoute: AboutRoute, 91 PostUriRoute: PostUriRoute, 92 } 93 export const routeTree = rootRouteImport 94 ._addFileChildren(rootRouteChildren)
··· 11 import { Route as rootRouteImport } from './routes/__root' 12 import { Route as AboutRouteImport } from './routes/about' 13 import { Route as IndexRouteImport } from './routes/index' 14 + import { Route as CallbackIndexRouteImport } from './routes/callback/index' 15 import { Route as PostUriRouteImport } from './routes/post/$uri' 16 17 const AboutRoute = AboutRouteImport.update({ ··· 22 const IndexRoute = IndexRouteImport.update({ 23 id: '/', 24 path: '/', 25 + getParentRoute: () => rootRouteImport, 26 + } as any) 27 + const CallbackIndexRoute = CallbackIndexRouteImport.update({ 28 + id: '/callback/', 29 + path: '/callback/', 30 getParentRoute: () => rootRouteImport, 31 } as any) 32 const PostUriRoute = PostUriRouteImport.update({ ··· 39 '/': typeof IndexRoute 40 '/about': typeof AboutRoute 41 '/post/$uri': typeof PostUriRoute 42 + '/callback': typeof CallbackIndexRoute 43 } 44 export interface FileRoutesByTo { 45 '/': typeof IndexRoute 46 '/about': typeof AboutRoute 47 '/post/$uri': typeof PostUriRoute 48 + '/callback': typeof CallbackIndexRoute 49 } 50 export interface FileRoutesById { 51 __root__: typeof rootRouteImport 52 '/': typeof IndexRoute 53 '/about': typeof AboutRoute 54 '/post/$uri': typeof PostUriRoute 55 + '/callback/': typeof CallbackIndexRoute 56 } 57 export interface FileRouteTypes { 58 fileRoutesByFullPath: FileRoutesByFullPath 59 + fullPaths: '/' | '/about' | '/post/$uri' | '/callback' 60 fileRoutesByTo: FileRoutesByTo 61 + to: '/' | '/about' | '/post/$uri' | '/callback' 62 + id: '__root__' | '/' | '/about' | '/post/$uri' | '/callback/' 63 fileRoutesById: FileRoutesById 64 } 65 export interface RootRouteChildren { 66 IndexRoute: typeof IndexRoute 67 AboutRoute: typeof AboutRoute 68 PostUriRoute: typeof PostUriRoute 69 + CallbackIndexRoute: typeof CallbackIndexRoute 70 } 71 72 declare module '@tanstack/react-router' { ··· 85 preLoaderRoute: typeof IndexRouteImport 86 parentRoute: typeof rootRouteImport 87 } 88 + '/callback/': { 89 + id: '/callback/' 90 + path: '/callback' 91 + fullPath: '/callback' 92 + preLoaderRoute: typeof CallbackIndexRouteImport 93 + parentRoute: typeof rootRouteImport 94 + } 95 '/post/$uri': { 96 id: '/post/$uri' 97 path: '/post/$uri' ··· 106 IndexRoute: IndexRoute, 107 AboutRoute: AboutRoute, 108 PostUriRoute: PostUriRoute, 109 + CallbackIndexRoute: CallbackIndexRoute, 110 } 111 export const routeTree = rootRouteImport 112 ._addFileChildren(rootRouteChildren)
+13
src/routes/callback/index.tsx
···
··· 1 + import { createFileRoute, useNavigate } from '@tanstack/react-router' 2 + 3 + export const Route = createFileRoute('/callback/')({ 4 + component: RouteComponent, 5 + }) 6 + 7 + function RouteComponent() { 8 + const navigate = useNavigate() 9 + const redirectPath = sessionStorage.getItem('postLoginRedirect') || '/'; 10 + navigate({to:redirectPath}) 11 + sessionStorage.removeItem('postLoginRedirect'); 12 + return <div>Hello "/callback/"!</div> 13 + }
+1 -1
vite.config.ts
··· 12 13 const PROD_URL = "https://skeetlonger.app" 14 //This will need to update every time you start the ngrok tunnel 15 - const DEV_URL = "https://7d3e-198-51-100-42.ngrok-free.app" 16 17 function shp(url: string): string { 18 return url.replace(/^https?:\/\//, '');
··· 12 13 const PROD_URL = "https://skeetlonger.app" 14 //This will need to update every time you start the ngrok tunnel 15 + const DEV_URL = "https://skeetlonger.app" 16 17 function shp(url: string): string { 18 return url.replace(/^https?:\/\//, '');