1
0
mirror of https://github.com/covidpass-org/covidpass.git synced 2025-02-16 19:50:42 +01:00
Hauke Tönjes e4537e250d
Load API_BASE_URL from backend
- Remove api_base_url constant
2021-06-28 21:58:07 +02:00

4 lines
216 B
JavaScript

export default function handler(req, res) {
// Return the API_BASE_URL. This Endpoint allows us to access the env Variable in client javascript
res.status(200).json({ apiBaseUrl: process.env.API_BASE_URL })
}