2016-11-29 09:26:36 -07:00
|
|
|
// Copyright 2016 The Gitea Authors. All rights reserved.
|
2022-11-27 11:20:29 -07:00
|
|
|
// SPDX-License-Identifier: MIT
|
2016-11-29 09:26:36 -07:00
|
|
|
|
2021-08-24 09:47:09 -07:00
|
|
|
//go:build !bindata
|
|
|
|
|
2016-11-29 09:26:36 -07:00
|
|
|
package public
|
|
|
|
|
2020-12-23 21:25:17 -07:00
|
|
|
import (
|
2023-04-12 03:16:45 -07:00
|
|
|
"code.gitea.io/gitea/modules/assetfs"
|
|
|
|
"code.gitea.io/gitea/modules/setting"
|
2020-12-23 21:25:17 -07:00
|
|
|
)
|
2016-11-29 09:26:36 -07:00
|
|
|
|
2023-04-12 03:16:45 -07:00
|
|
|
func BuiltinAssets() *assetfs.Layer {
|
|
|
|
return assetfs.Local("builtin(static)", setting.StaticRootPath, "public")
|
2020-12-23 21:25:17 -07:00
|
|
|
}
|