1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

removed this.set

This commit is contained in:
Harvey Kandola 2017-05-19 11:36:28 +01:00
parent 65666c5a89
commit 99b9427b8e
2 changed files with 1 additions and 4 deletions

View file

@ -45,10 +45,6 @@ export default Ember.Component.extend(AuthProvider, {
}
}),
didReceiveAttrs() {
this.set
},
actions: {
save() {
let password = this.get('password.password');

View file

@ -121,6 +121,7 @@ func Serve(ready chan struct{}) {
go func() {
err := http.ListenAndServe(":"+forcePort2SSL, http.HandlerFunc(
func(w http.ResponseWriter, req *http.Request) {
w.Header().Set("Connection", "close")
var host = strings.Replace(req.Host, forcePort2SSL, port, 1) + req.RequestURI
http.Redirect(w, req, "https://"+host, http.StatusMovedPermanently)
}))