BoYanZh
e2bcca2fbd
feat: static files for embed viewers ( #2739 )
2022-12-19 13:34:06 +08:00
BoYanZh
4568af9542
feat: better static file Cache-Control ( #2751 )
2022-12-19 13:32:00 +08:00
foxxorcat
fb64f00640
refactor: obj name mapping and internal path processing ( #2733 )
...
* refactor:Prepare to remove the get interface
* feat:add obj Unwarp interface
* refactor:obj name mapping and program internal path processing
* chore: fix typo
* feat: unwrap get
* fix: no use op.Get to get parent id
* fix: set the path uniformly
Co-authored-by: Noah Hsu <i@nn.ci>
2022-12-17 19:49:05 +08:00
BoYanZh
e58ca686e3
feat: cache static files ( #2715 )
2022-12-15 17:48:29 +08:00
BoYanZh
a02d9c8463
fix: check error type on file not found ( #2383 )
2022-11-18 01:30:37 +08:00
BoYanZh
3e9c38697d
fix: use utils.Log
during static file router init ( #2100 )
...
formerly the log is not in stderr
2022-10-24 23:33:57 +08:00
Noah Hsu
b7479651e1
fix: incorrect base_path from site_url ( close #1830 )
2022-09-27 13:56:32 +08:00
Noah Hsu
7c32af4649
refactor!: move api_url
and base_path
to config file
2022-09-25 17:57:54 +08:00
Noah Hsu
0039dc18e1
fix: set cdn to basePath if cdn is empty
2022-09-22 17:11:45 +08:00
Noah Hsu
362d48aa98
chore: replace main color
2022-09-08 22:21:52 +08:00
Noah Hsu
4ea19ae078
chore: replace $version
of cdn with webVersion
2022-09-07 18:39:04 +08:00
Noah Hsu
a24dfddc2a
feat: add 189cloud driver
2022-09-06 14:39:21 +08:00
Noah Hsu
bc155af255
chore: remove slash of cdn
2022-09-02 16:02:06 +08:00
Noah Hsu
d267c43556
feat: static file router
2022-08-28 23:13:03 +08:00