cashless2ecash

cashless2ecash: pay with cards for digital cash (experimental)
Log | Files | Refs | README

api-agpl.go (205B)


      1 package internal_api
      2 
      3 import (
      4 	"c2ec/pkg/config"
      5 	"net/http"
      6 )
      7 
      8 func Agpl(res http.ResponseWriter, req *http.Request) {
      9 
     10 	res.Header().Set("Location", config.CONFIG.Server.Source)
     11 	res.WriteHeader(301)
     12 }