This commit is contained in:
nelle 2024-09-15 21:17:29 -06:00
parent c31e22c082
commit 060a5784cf
5 changed files with 9 additions and 10 deletions

View file

@ -1,2 +1 @@
rootProject.name = "personalSiteAPI" rootProject.name = "nelleObserverBackend"

View file

@ -1,6 +1,6 @@
@file:Suppress("ktlint:standard:no-wildcard-imports") @file:Suppress("ktlint:standard:no-wildcard-imports")
package observer.nelle.personalSiteAPI package observer.nelle.nelleObserverBackend
import io.ktor.client.* import io.ktor.client.*
import io.ktor.client.engine.cio.* 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.contentnegotiation.*
import io.ktor.server.plugins.cors.routing.* import io.ktor.server.plugins.cors.routing.*
import kotlinx.coroutines.runBlocking import kotlinx.coroutines.runBlocking
import observer.nelle.personalSiteAPI.plugins.configureRouting import observer.nelle.nelleObserverBackend.plugins.configureRouting
fun main(args: Array<String>) { fun main(args: Array<String>) {
embeddedServer( embeddedServer(

View file

@ -1,6 +1,6 @@
@file:Suppress("ktlint:standard:no-wildcard-imports") @file:Suppress("ktlint:standard:no-wildcard-imports")
package observer.nelle.personalSiteAPI package observer.nelle.nelleObserverBackend
import io.ktor.client.* import io.ktor.client.*
import io.ktor.client.request.forms.* import io.ktor.client.request.forms.*

View file

@ -1,6 +1,6 @@
@file:Suppress("ktlint:standard:no-wildcard-imports") @file:Suppress("ktlint:standard:no-wildcard-imports")
package observer.nelle.personalSiteAPI package observer.nelle.nelleObserverBackend
import java.io.File import java.io.File
import java.io.FileInputStream import java.io.FileInputStream

View file

@ -1,6 +1,6 @@
@file:Suppress("ktlint:standard:no-wildcard-imports") @file:Suppress("ktlint:standard:no-wildcard-imports")
package observer.nelle.personalSiteAPI.plugins package observer.nelle.nelleObserverBackend.plugins
import io.ktor.client.* import io.ktor.client.*
import io.ktor.http.* import io.ktor.http.*
@ -8,9 +8,9 @@ import io.ktor.server.application.*
import io.ktor.server.request.* import io.ktor.server.request.*
import io.ktor.server.response.* import io.ktor.server.response.*
import io.ktor.server.routing.* import io.ktor.server.routing.*
import observer.nelle.personalSiteAPI.Config import observer.nelle.nelleObserverBackend.Config
import observer.nelle.personalSiteAPI.getMeow import observer.nelle.nelleObserverBackend.getMeow
import observer.nelle.personalSiteAPI.makePost import observer.nelle.nelleObserverBackend.makePost
import java.util.* import java.util.*
import kotlin.concurrent.timerTask import kotlin.concurrent.timerTask