Restructure

This commit is contained in:
Andrew Pennington 2024-08-15 23:33:01 +01:00
parent 293391dd20
commit f11180db7a
No known key found for this signature in database
GPG key ID: E9DA097213FD17EA

10
ui/pages/api/env.ts Normal file
View file

@ -0,0 +1,10 @@
import process from 'process';
export default function handler(req, res) {
const envVars = {
BACKEND_API_URL: process.env.BACKEND_API_URL,
BACKEND_WS_URL: process.env.BACKEND_WS_URL
}
res.status(200).json(envVars);
}