main #8
5 changed files with 9 additions and 10 deletions
|
@ -1,2 +1 @@
|
|||
rootProject.name = "personalSiteAPI"
|
||||
|
||||
rootProject.name = "nelleObserverBackend"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@file:Suppress("ktlint:standard:no-wildcard-imports")
|
||||
|
||||
package observer.nelle.personalSiteAPI
|
||||
package observer.nelle.nelleObserverBackend
|
||||
|
||||
import io.ktor.client.*
|
||||
import io.ktor.client.engine.cio.*
|
||||
|
@ -13,7 +13,7 @@ import io.ktor.server.netty.*
|
|||
import io.ktor.server.plugins.contentnegotiation.*
|
||||
import io.ktor.server.plugins.cors.routing.*
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import observer.nelle.personalSiteAPI.plugins.configureRouting
|
||||
import observer.nelle.nelleObserverBackend.plugins.configureRouting
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
embeddedServer(
|
|
@ -1,6 +1,6 @@
|
|||
@file:Suppress("ktlint:standard:no-wildcard-imports")
|
||||
|
||||
package observer.nelle.personalSiteAPI
|
||||
package observer.nelle.nelleObserverBackend
|
||||
|
||||
import io.ktor.client.*
|
||||
import io.ktor.client.request.forms.*
|
|
@ -1,6 +1,6 @@
|
|||
@file:Suppress("ktlint:standard:no-wildcard-imports")
|
||||
|
||||
package observer.nelle.personalSiteAPI
|
||||
package observer.nelle.nelleObserverBackend
|
||||
|
||||
import java.io.File
|
||||
import java.io.FileInputStream
|
|
@ -1,6 +1,6 @@
|
|||
@file:Suppress("ktlint:standard:no-wildcard-imports")
|
||||
|
||||
package observer.nelle.personalSiteAPI.plugins
|
||||
package observer.nelle.nelleObserverBackend.plugins
|
||||
|
||||
import io.ktor.client.*
|
||||
import io.ktor.http.*
|
||||
|
@ -8,9 +8,9 @@ import io.ktor.server.application.*
|
|||
import io.ktor.server.request.*
|
||||
import io.ktor.server.response.*
|
||||
import io.ktor.server.routing.*
|
||||
import observer.nelle.personalSiteAPI.Config
|
||||
import observer.nelle.personalSiteAPI.getMeow
|
||||
import observer.nelle.personalSiteAPI.makePost
|
||||
import observer.nelle.nelleObserverBackend.Config
|
||||
import observer.nelle.nelleObserverBackend.getMeow
|
||||
import observer.nelle.nelleObserverBackend.makePost
|
||||
import java.util.*
|
||||
import kotlin.concurrent.timerTask
|
||||
|
Loading…
Reference in a new issue