Make legacy upgrade broadcast louder.

This commit is contained in:
Marco Vermeulen
2012-10-28 15:02:52 +00:00
parent fbc8f1896b
commit 889c626e90

View File

@@ -187,7 +187,14 @@ rm.get("/broadcast/:version") { req ->
rm.get("/app/alive/:version") { req ->
addPlainTextHeader req
req.response.end "Please upgrade with: gvm selfupdate"
def broadcast = '''
*************************************
Please upgrade with: gvm selfupdate
*************************************
'''
req.response.end broadcast
}
rm.get("/res/init") { req ->