mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
removed this.set
This commit is contained in:
parent
65666c5a89
commit
99b9427b8e
2 changed files with 1 additions and 4 deletions
|
@ -45,10 +45,6 @@ export default Ember.Component.extend(AuthProvider, {
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
didReceiveAttrs() {
|
|
||||||
this.set
|
|
||||||
},
|
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
save() {
|
save() {
|
||||||
let password = this.get('password.password');
|
let password = this.get('password.password');
|
||||||
|
|
|
@ -121,6 +121,7 @@ func Serve(ready chan struct{}) {
|
||||||
go func() {
|
go func() {
|
||||||
err := http.ListenAndServe(":"+forcePort2SSL, http.HandlerFunc(
|
err := http.ListenAndServe(":"+forcePort2SSL, http.HandlerFunc(
|
||||||
func(w http.ResponseWriter, req *http.Request) {
|
func(w http.ResponseWriter, req *http.Request) {
|
||||||
|
w.Header().Set("Connection", "close")
|
||||||
var host = strings.Replace(req.Host, forcePort2SSL, port, 1) + req.RequestURI
|
var host = strings.Replace(req.Host, forcePort2SSL, port, 1) + req.RequestURI
|
||||||
http.Redirect(w, req, "https://"+host, http.StatusMovedPermanently)
|
http.Redirect(w, req, "https://"+host, http.StatusMovedPermanently)
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue