Quellcode durchsuchen

removing not needed html page

Damien Solimando vor 9 Jahren
Ursprung
Commit
68eed2fac8

+ 0 - 16
frameworks/Groovy/hot/shows/benchmark.show.groovy

@@ -1,7 +1,6 @@
 import org.apache.commons.lang.StringEscapeUtils
 
 def mongo = show.dbs.mongo
-//def mysql = dbs.mysql
 
 def generator = new Random ()
 
@@ -105,18 +104,3 @@ def hello = 'Hello, World!'
 rest.get('/plaintext').then {
 	new hot.Response(200,['Content-Type':'text/plain'],hello)
 }
-
-/**rest.get('/db-mysql').then {
-	mysql.World.findOne([id:mongo.ObjectId(generate())]).promise()
-}**/
-
-/**rest.get('/db-mongo-setup').then {
-
-	def deferred = show.Deferred()
-	(1..10000).each { 
-		i -> deferred.then { mongo.World.insert([_id:i, randomNumber: generate()]) }
-	}
-	deferred.resolve()
-}**/
-
-

+ 0 - 42
frameworks/Groovy/hot/www/index.html

@@ -1,42 +0,0 @@
-<!DOCTYPE html> 
-<html> 
-<head> 
-  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
-  <title>Welcome to the Hot framework</title> 
-  
-  <style type='text/css'> 
-body {
-    
-    background-color:#000;
-    margin:0;
-    color:#fff;
-    font-family: -apple-system, "Helvetica Neue", "Lucida Grande";
-    font-size:72px;
-    font-weight:lighter;
-}
-
-#welcome {
-    margin-top:25%;
-    width:50%;
-    margin-left:auto;
-    margin-right:auto;
-    text-align:center;
-}
-
-a {
-    margin-top:20px;
-    color:#F015BB;
-    font-size:48px;
-    width:50%;
-    margin-left:auto;
-    margin-right:auto;
-    text-align:center;
-    display:block;
-}
-  </style> 
-</head> 
-<body> 
-  	<div id="welcome">Welcome to the Hot framework</div>
-	<a href="https://github.com/dsolimando/Hot/wiki">Getting started</a>
-</body> 
-</html>