[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated (48d6d1c -> 8c077a4)
From: |
gnunet |
Subject: |
[libeufin] branch master updated (48d6d1c -> 8c077a4) |
Date: |
Mon, 21 Jun 2021 11:22:09 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a change to branch master
in repository libeufin.
from 48d6d1c Dropping the integration tests.
new f1b44bb serving static content (test)
new 8c077a4 bump dev version
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
debian/rules | 2 +-
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 5 +++++
sandbox/src/main/resources/static/hello.html | 10 ++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 sandbox/src/main/resources/static/hello.html
diff --git a/debian/rules b/debian/rules
index 28078cf..d552c47 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@ include /usr/share/dpkg/default.mk
export JAVA_HOME = /usr/lib/jvm/default-java
LIBEUFIN_HOME = /usr/share/libeufin
-DEV = -dev.2
+DEV = -dev.3
FULLVER = $(DEB_VERSION_UPSTREAM)$(DEV)
clean:
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index dc66cc2..efea041 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -66,6 +66,7 @@ import com.github.ajalt.clikt.parameters.types.int
import execThrowableOrTerminate
import io.ktor.application.ApplicationCall
import io.ktor.http.*
+import io.ktor.http.content.*
import io.ktor.request.*
import io.ktor.util.date.*
import
tech.libeufin.sandbox.BankAccountTransactionsTable.accountServicerReference
@@ -289,6 +290,10 @@ fun serverMain(dbName: String, port: Int) {
}
}
routing {
+ static("/static") {
+ resources("static")
+ }
+
get("/") {
call.respondText("Hello, this is Sandbox\n",
ContentType.Text.Plain)
}
diff --git a/sandbox/src/main/resources/static/hello.html
b/sandbox/src/main/resources/static/hello.html
new file mode 100644
index 0000000..9dc4299
--- /dev/null
+++ b/sandbox/src/main/resources/static/hello.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Hello</title>
+</head>
+<body>
+Testing the static folder.
+</body>
+</html>
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libeufin] branch master updated (48d6d1c -> 8c077a4),
gnunet <=