HalosGhost / halosgho.st

The repo backing my homepage
GNU General Public License v3.0
3 stars 0 forks source link

File / Asset Loading #7

Closed HalosGhost closed 6 years ago

HalosGhost commented 6 years ago

At the moment, we do not load any assets (e.g., no CSS, no favicon, etc.).

In addition, we only serve the main page, no other files (e.g., my CV and Resume).

Bringing this up to function will result in a much better user-experience (styling) and much more featureful use-cases (e.g., file redistribution).

HalosGhost commented 6 years ago

preliminarily:

{ .prefix="/assets", .module = LWAN_MODULE_REF(serve_files), .args = &(struct lwan_serve_files_settings ){ .root_path="./assets", .serve_precompressed_files=true, .auto_index=true }}
HalosGhost commented 6 years ago

via 7c6948f00bfcf65ccda8a88775fdccad8740b3d8