webtides / luna-js

MIT License
8 stars 0 forks source link

Static export content types #110

Open lukas-schardt opened 2 years ago

lukas-schardt commented 2 years ago

Sometimes we want to dynamically generate pages with a different content type than text/html. This works with luna by manually settings the response type, but the static exporter will ignore that type and write a .html file.

Ideally the static exporter should recognize the response type and write the appropriate file type.