aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/embed.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/public/embed.go b/public/embed.go
new file mode 100644
index 00000000..7abd2322
--- /dev/null
+++ b/public/embed.go
@@ -0,0 +1,12 @@
+// Copyright 2022 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package public
+
+import (
+ "embed"
+)
+
+//go:embed assets/* css/* img/* js/* plugins/*
+var Files embed.FS