Proxy for fetching images from the legacy server.
$ yarn install --pure-lockfile
$ yarn run tsc
Configuration is done via ENV properties:
- SERVER_URI - target server (http://demagog.cz or http://demagog.sk)
- PORT - service port (default is
3001
)
PORT=3000 SERVER_URI=http://demagog.cz node dist/index.js
HTTP server will be running on port 3000 proxying images from http://demagog.cz