0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-12 15:35:07 +01:00
gitea/modules
Jakob Ackermann 00629fea95 [assets] configurable URL for static resources (#7911)
* static url

* add cors support for static resources

* [assets] work on the migration to configurable url for assets

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [misc] fix whitespace

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [assets] fix the loading of the manifest.json

It is generated dynamically, and as such can not be served by the cdn.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* Revert "add cors support for static resources"

This reverts commit 42f964fd18

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docs] add the STATIC_URL_PREFIX option

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [assets] migrate the url of a new asset to the static url prefix

REF: f2a3abc683
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2019-10-22 20:11:01 +08:00
..
auth
avatar
base
cache
charset
context
cron
generate
git
graceful
gzip Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
minwinsvc
notification
options
password
pprof
private
process
public
recaptcha
references
repofiles
search
secret
session
setting
ssh
structs
sync
task
templates [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
test
timeutil
upload
user
util
validation