feat: add manual feedback AI summaries and secure leaderboard scoring
Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
1 parent
407b878e23
commit
821907b164
37 files changed
+1640
-77
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { defineConfig, loadEnv } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
|
||||
// Dev server proxies /auth, /rest, /realtime, /storage to the local Supabase
|
||||
// stack so the app can use relative URLs (works in Docker + localhost).
|
||||
const SUPABASE_TARGET = 'http://127.0.0.1:54321';
|
||||
|
||||
export default defineConfig({
|
||||
export default defineConfig(({ mode }) => ({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: true,
|
||||
@@ -20,10 +20,10 @@ export default defineConfig({
|
||||
// Strip the /sidecar prefix so /sidecar/run -> http://127.0.0.1:3002/run
|
||||
// (mirrors the nginx `location /sidecar/ { proxy_pass .../; }` rewrite).
|
||||
'/sidecar': {
|
||||
target: 'http://127.0.0.1:3002',
|
||||
target: loadEnv(mode, '.', 'SIDECAR_').SIDECAR_TARGET || 'http://127.0.0.1:3002',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/sidecar/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
}));
|
||||
Reference in new issue
Block a user