Browsbox Admin Frontend
Local development
Create proxy.local.json
file, which contains settings for proxy server of webpack dev server,
it's ignored by default in GIT, because it contains environment specific contents.
An example proxy configuration:
{
"/": {
"target": "http://[your-browsbox-url]",
"secure": false,
"changeOrigin": true,
"headers": {
"Cookie": "PHPSESSID=[your-phpsessid-cookie-id]"
}
}
}
Remember to always update the Cookie
value of your PHPSESSID
(you can get it from your browser storage) to allow access restricted /api
admin's area
when application is running in development mode.