]> Sergey Matveev's repositories - godlighty.git/blobdiff - rc/example.cfg/static.go
Move domain-specific things to separate directory
[godlighty.git] / rc / example.cfg / static.go
similarity index 52%
rename from rc/static.go
rename to rc/example.cfg/static.go
index 89142a8ead44e289a177b53a89c046b3e929c529..f1559c8281ca7fd681eb9beb13ffada727074252 100644 (file)
@@ -1,21 +1,4 @@
-/*
-godlighty -- highly-customizable HTTP, HTTP/2, HTTPS server
-Copyright (C) 2021 Sergey Matveev <stargrave@stargrave.org>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, version 3 of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-package rc
+package cfg
 
 import (
        "path"
@@ -44,6 +27,7 @@ func addStaticWebDAVedDir(host, root string) {
        godlighty.Hosts[host].WebDAV = true
 }
 
+
 func init() {
        addStaticCfg("www.stargrave.org", "stargrave.org")