pedestal

quan xing 2024-04-14T07:57:12.123099Z

How to configure pedestal's http/resource-path to the current public/www directory in the jar, so that after the program starts, I cannot access http://localhost:300/index.html Directory structure is as follows app.jar public -www -index.html there are not working http/resource-path "/public/www" ;; or "./public/www" "d:/app/public/www" I don't want to package the static website into the JAR file.

hlship 2024-04-14T16:34:11.758539Z

Look at the http/file-path option. http://pedestal.io/pedestal/0.7/reference/service-map.html

hlship 2024-04-15T03:44:14.764699Z

It should be easier to find this in the documentation; I'll work on it.

quan xing 2024-04-15T03:45:14.069619Z

Yes. It worked. Thanks.