1
0
Commit Graph

70 Commits

Author SHA1 Message Date
3b324a9733
Added ability to disable file serving if it is handled by some other service (e.g. NGiNX). 2022-06-28 01:07:46 +04:00
799d0b0cb1
Removed corresponding ServeStatic paths. Now a single /*filepath is handled.
And assets FS should be passed to handlers.
2022-06-28 00:39:14 +04:00
aec33a154f
Added FIleServer handlers for assets and file share. 2022-06-28 00:37:50 +04:00
1506f1ac68
No need to move to sub-tree to assets dir. Assets dir is in path. 2022-06-28 00:37:20 +04:00
933eaa0f3c
Updated pregenerated index.jade. 2022-06-27 23:48:19 +04:00
ad8826d82a
Fixed path to favicon in index.jade. 2022-06-27 23:46:53 +04:00
9d2ee5883d
Added favicon. 2022-06-27 23:45:58 +04:00
0c8164e4bf
Oh, let's actually use user's home directory for test. :) 2022-06-27 23:45:21 +04:00
54005e49e5
Added JS script. 2022-06-27 23:44:53 +04:00
1efaabf1ff
Added CSS style. 2022-06-27 23:44:45 +04:00
822065d383
Added font. 2022-06-27 23:44:36 +04:00
fa7e38a1ff
Not sure this nginx config is right, will check later. 2022-06-27 23:37:40 +04:00
ef920126c3
Working Index handler. 2022-06-27 23:37:12 +04:00
5f2b69ee3c
Looks like CurrentPath() func is complete. 2022-06-27 23:36:45 +04:00
ca6e28b376
Made use of DirStats struct in a template. 2022-06-27 23:26:33 +04:00
feda955c38
Because of how httprouter works I had to create an /index/ endpoint. Also /file/ endpoint serving files was added. 2022-06-27 22:53:02 +04:00
a2a40a6dfe
This run target is for testing purposes. Let it serve a current directory. 2022-06-27 22:51:18 +04:00
34a5202ea3
A working ScanDirectory() function. 2022-06-27 22:50:33 +04:00
8550577726
Oops, forgot this junk. 2022-06-27 04:40:16 +04:00
cc0c97fa23
Initial commit. 2022-06-27 04:38:09 +04:00