mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 07:38:52 +01:00
🌐 feat: Add support to SubDirectory hosting (#9155)
* feat: Add support to SubDirectory hosting * fix: address linting and failing test * fix: browser context validation --------- Co-authored-by: Danny Avila <danny@librechat.ai>
This commit is contained in:
parent
a820863e8b
commit
18d5a75cdc
14 changed files with 252 additions and 199 deletions
|
|
@ -8,6 +8,7 @@ import { VitePWA } from 'vite-plugin-pwa';
|
|||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig(({ command }) => ({
|
||||
base: '',
|
||||
server: {
|
||||
host: 'localhost',
|
||||
port: 3090,
|
||||
|
|
@ -54,33 +55,32 @@ export default defineConfig(({ command }) => ({
|
|||
manifest: {
|
||||
name: 'LibreChat',
|
||||
short_name: 'LibreChat',
|
||||
start_url: '/',
|
||||
display: 'standalone',
|
||||
background_color: '#000000',
|
||||
theme_color: '#009688',
|
||||
icons: [
|
||||
{
|
||||
src: '/assets/favicon-32x32.png',
|
||||
src: 'assets/favicon-32x32.png',
|
||||
sizes: '32x32',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: '/assets/favicon-16x16.png',
|
||||
src: 'assets/favicon-16x16.png',
|
||||
sizes: '16x16',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: '/assets/apple-touch-icon-180x180.png',
|
||||
src: 'assets/apple-touch-icon-180x180.png',
|
||||
sizes: '180x180',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: '/assets/icon-192x192.png',
|
||||
src: 'assets/icon-192x192.png',
|
||||
sizes: '192x192',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: '/assets/maskable-icon.png',
|
||||
src: 'assets/maskable-icon.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
purpose: 'maskable',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue