mirror of
https://github.com/Dannecron/parcel-example-neko.git
synced 2025-12-25 15:22:37 +03:00
[feature] add version route
This commit is contained in:
@@ -14,4 +14,9 @@ server {
|
||||
root /opt/neko/dist;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
location /version {
|
||||
default_type application/json;
|
||||
return 200 '{"version": "$APP_VERSION"}';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user