Skip to content

Commit

Permalink
Add a favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeBoisney committed Dec 26, 2018
1 parent 3949312 commit cb15493
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ android/gradle/wrapper/gradle-wrapper.properties
android/gradlew

android/gradlew.bat

backend/.DS_Store

backend/.DS_Store

backend/.DS_Store
10 changes: 8 additions & 2 deletions backend/src/main/kotlin/io/nobullshit/HelloApplication.kt
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
package io.nobullshit

import com.google.cloud.firestore.Firestore
import com.google.cloud.firestore.FirestoreOptions
import freemarker.cache.ClassTemplateLoader
import io.ktor.application.*
import io.ktor.features.*
import io.ktor.freemarker.FreeMarker
import io.ktor.http.content.file
import io.ktor.http.content.resources
import io.ktor.http.content.static
import io.ktor.http.content.staticRootFolder
import io.ktor.routing.*
import io.nobullshit.database.Database
import io.nobullshit.route.index
import io.nobullshit.route.styles
import io.nobullshit.route.submitJob
import java.io.File

/*
* Entry Point of the application as defined in resources/application.conf
Expand Down Expand Up @@ -41,6 +44,9 @@ fun Application.configureApplication(db: Database){
*/
fun Application.registerRoutes(db: Database){
routing {
static {
resources("web")
}
styles()
index()
submitJob(db)
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/templates/template.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/favicon.ico">

<title>${title} | ${description}</title>

Expand Down
Binary file added backend/src/main/resources/web/favicon.ico
Binary file not shown.

0 comments on commit cb15493

Please sign in to comment.