-
Notifications
You must be signed in to change notification settings - Fork 11
EN.03.02.Static Files
stormcat24 edited this page Aug 12, 2014
·
1 revision
Configuration to renpond static files on Aeromock.
When configure static
section at project.yaml, be able to respond to static files.
Root directory of static files. Specify a relative path from project root path.
static:
root: ../static
If specified path of project.yaml is path1/path2/project.yaml
, path1/static/
is static file root directory.
Access path from static files root. You should access http://localhost:3183/img/test.png
To browse /static/img/test.png
.
Can not publish directory named aeromock at static files root below. Because bundled images or css by Aeromock has published http://localhost:3183/aeromock/ .