Files
vst-chip/src/jvmMain/kotlin/nl/astraeus/vst/chip/Main.kt
rnentjes ee76d4c4a3 Refactor project structure by removing "common" module
Removed the "common" module and associated configurations from the project. Updated dependencies and file placements to reflect these changes across build and source files. Migrated necessary code from the "common" module to relevant existing modules to maintain functionality.
2024-12-08 14:57:01 +01:00

26 lines
522 B
Kotlin

package nl.astraeus.vst.chip
import nl.astraeus.vst.base.Settings
import nl.astraeus.vst.base.db.Database
import nl.astraeus.vst.base.web.UndertowServer
import nl.astraeus.vst.chip.logger.LogLevel
import nl.astraeus.vst.chip.logger.Logger
fun main() {
Logger.level = LogLevel.DEBUG
Thread.setDefaultUncaughtExceptionHandler { _, e ->
e.printStackTrace()
}
Settings.port = 9005
Settings.jdbcStatsPort = 6005
Database.start()
UndertowServer.start(
"Vst Chip",
"/vst-chip-worklet-ui.js"
)
}