Skip to content

Commit

Permalink
remove websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyv404 committed Jan 29, 2024
1 parent 86f21ed commit 82bdc19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/kotlin/com/xiaoyv404/mirai/app/webAPI/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import io.ktor.server.plugins.statuspages.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import io.ktor.server.sessions.*
import io.ktor.server.websocket.*

fun Application.module() {
install(CORS) {
Expand Down Expand Up @@ -69,9 +68,6 @@ fun Application.module() {
}
}

}
install(WebSockets) {

}
install(Sessions) {
cookie<WebApi.UserSession>(WebApi.SESSION_REGISTER_NAME) {
Expand Down

0 comments on commit 82bdc19

Please sign in to comment.