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.
26 lines
522 B
Kotlin
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"
|
|
)
|
|
}
|