View Code? Open in Web Editor
NEW
Simple server for proxy requests and host static files written in Kotlin and Undertow.
License: GNU General Public License v3.0
Kotlin 96.40%
Shell 3.60%
kotlin-dev-proxy's Introduction
Simple HTTP Proxy for local development
Proxying static files and request: all what you need in modern SPA development.
git clone https://github.com/IRus/kotlin-dev-proxy.git
cd kotlin-dev-proxy
./gradlew run
Make copy of application.yml.sample
in same directory and name it application.yml
. Change application.yml
to meet your need.
-
port - port on with proxy will be started
-
host - host to run application
-
mappings - prefix for API requests and target host
-
files - location of static files on disk, for example: C:\\dev\\projects\\frontend
or /home/user/dev/frontend
Please leave feedback, create issues and make pull request!
kotlin-dev-proxy's People
Contributors
kotlin-dev-proxy's Issues
Currently proxy working in sync mode, for dev this okay, but i think will be better, if async version will be available.
I tried setting the individual content tpe for these files but I still get the error
OTS parsing error: Failed to convert WOFF 2.0 font to SFNT