Spaces:
Paused
Paused
CBV01
feat(campaigns): real telegram metrics, fix failed card colors, compact card height, fix account avatar, and accurate group permission detection
d3be83c Download frontend/next.config.js from adekolateam/arkitel: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/spaces/adekolateam/arkitel/resolve/main/frontend/next.config.js
- Command line
-
hf download hf://spaces/adekolateam/arkitel/frontend/next.config.js
-
curl -L -o next.config.js https://huggingface.co/spaces/adekolateam/arkitel/resolve/main/frontend/next.config.js
432 Bytes
| const nextConfig = { | |
| async rewrites() { | |
| const base = process.env.NEXT_PUBLIC_API_URL || 'https://arkitel.onrender.com'; | |
| const normalized = base.replace(/\/$/, ''); | |
| return [ | |
| { | |
| source: '/api/:path*', | |
| destination: `${normalized}/api/:path*`, | |
| }, | |
| { | |
| source: '/static/:path*', | |
| destination: `${normalized}/static/:path*`, | |
| }, | |
| ]; | |
| }, | |
| }; | |
| module.exports = nextConfig; | |