perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

Serving more than one file location #1139

Open imrichardcole opened 4 years ago

imrichardcole commented 4 years ago

I'm trying to serve up two directories:

web: contains my website - index.html, js, css etc results: a folder which contains a dynamic set of files that'll be to from the web page

Is this possible with Spark? I tried using Spark.staticFiles.location and externalLocation but it only ever seems to respect one or the other.