aboutsummaryrefslogtreecommitdiffstats
path: root/modules/public
diff options
context:
space:
mode:
Diffstat (limited to 'modules/public')
-rw-r--r--modules/public/mime_types.go3
-rw-r--r--modules/public/public.go3
-rw-r--r--modules/public/public_bindata.go3
-rw-r--r--modules/public/public_test.go3
-rw-r--r--modules/public/serve_dynamic.go3
-rw-r--r--modules/public/serve_static.go3
6 files changed, 6 insertions, 12 deletions
diff --git a/modules/public/mime_types.go b/modules/public/mime_types.go
index f8c92e824f..32bdf3bfa2 100644
--- a/modules/public/mime_types.go
+++ b/modules/public/mime_types.go
@@ -1,6 +1,5 @@
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package public
diff --git a/modules/public/public.go b/modules/public/public.go
index ac1d80c860..42026f9b10 100644
--- a/modules/public/public.go
+++ b/modules/public/public.go
@@ -1,6 +1,5 @@
// Copyright 2016 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package public
diff --git a/modules/public/public_bindata.go b/modules/public/public_bindata.go
index fe250c6454..4878f88ad1 100644
--- a/modules/public/public_bindata.go
+++ b/modules/public/public_bindata.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
//go:build bindata
diff --git a/modules/public/public_test.go b/modules/public/public_test.go
index 8b58d6af33..5e4bf5d671 100644
--- a/modules/public/public_test.go
+++ b/modules/public/public_test.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package public
diff --git a/modules/public/serve_dynamic.go b/modules/public/serve_dynamic.go
index 672924a636..cd74ee5743 100644
--- a/modules/public/serve_dynamic.go
+++ b/modules/public/serve_dynamic.go
@@ -1,6 +1,5 @@
// Copyright 2016 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
//go:build !bindata
diff --git a/modules/public/serve_static.go b/modules/public/serve_static.go
index 10120bf85d..e85ca79253 100644
--- a/modules/public/serve_static.go
+++ b/modules/public/serve_static.go
@@ -1,6 +1,5 @@
// Copyright 2016 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
//go:build bindata