summaryrefslogtreecommitdiffstats
path: root/routers/utils
diff options
context:
space:
mode:
Diffstat (limited to 'routers/utils')
-rw-r--r--routers/utils/utils.go3
-rw-r--r--routers/utils/utils_test.go3
2 files changed, 2 insertions, 4 deletions
diff --git a/routers/utils/utils.go b/routers/utils/utils.go
index 66eaa1d9ce..d6856fceac 100644
--- a/routers/utils/utils.go
+++ b/routers/utils/utils.go
@@ -1,6 +1,5 @@
// Copyright 2017 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 utils
diff --git a/routers/utils/utils_test.go b/routers/utils/utils_test.go
index 42cf948e30..6d19214c88 100644
--- a/routers/utils/utils_test.go
+++ b/routers/utils/utils_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 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 utils