Skip to content

feat: pwa support#85

Merged
MarshallAsch merged 27 commits intomainfrom
pwa-support
Mar 21, 2026
Merged

feat: pwa support#85
MarshallAsch merged 27 commits intomainfrom
pwa-support

Conversation

@kellenwiltshire
Copy link
Copy Markdown
Collaborator

PWA support added. No push notifications added, not sure if needed/required at this stage.

Comment on lines +8 to +22
function isPublicFile(pathname: string): boolean {
// Static files in public folder
const staticFileExtensions =
/\.(png|jpg|jpeg|svg|ico|webp|webmanifest|json)$/i
if (staticFileExtensions.test(pathname)) return true

// Specific known public files
if (pathname === '/favicon.ico') return true
if (pathname.startsWith('/apple-icon')) return true
if (pathname.startsWith('/web-app-manifest-')) return true
if (pathname.startsWith('/icon')) return true

return false
}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to redirect on public folder items

MarshallAsch and others added 22 commits March 21, 2026 10:40
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kellenwiltshire kellenwiltshire marked this pull request as ready for review March 21, 2026 14:45
@MarshallAsch MarshallAsch merged commit 6ee4bd9 into main Mar 21, 2026
1 check passed
@MarshallAsch MarshallAsch deleted the pwa-support branch March 21, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants