File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
- application : nopullrequests
2
- version : 1
3
- runtime : go
4
- api_version : go1
1
+ runtime : go112
5
2
6
3
handlers :
7
4
- url : /static
@@ -16,4 +13,4 @@ handlers:
16
13
upload : static/home.html
17
14
18
15
- url : /.*
19
- script : _go_app
16
+ script : auto
Original file line number Diff line number Diff line change 6
6
// TODO: use gorilla sessions instead of Google auth
7
7
// TODO: xsrf everywhere
8
8
9
- package nopr
9
+ package main
10
10
11
11
import (
12
12
"encoding/json"
@@ -39,7 +39,9 @@ var scopes = strings.Join([]string{
39
39
// "repo:status", // permission to add statuses to commits
40
40
}, "," )
41
41
42
- func init () {
42
+ func main () {
43
+ appengine .Main ()
44
+
43
45
http .HandleFunc ("/start" , startHandler )
44
46
http .HandleFunc (redirectURLPath , oauthHandler )
45
47
http .HandleFunc ("/user" , userHandler )
Original file line number Diff line number Diff line change 1
- package nopr
1
+ package main
2
2
3
3
import "html/template"
4
4
You can’t perform that action at this time.
0 commit comments