When I build my ktor project It fails and it tells me about a line which causes the failure. The line is located in the application.conf file:
ktor {
development = true
deployment {
//the problem is with "heroku logs --tail"
port = 8080heroku logs --tail
port = ${?PORT},
watch = [ classes, resources ]
}
application {
modules = [ com.example.ApplicationKt.module ]
}
}
When I try to remove the line and then build the project it returns back again. How can I remove it?
CodePudding user response:
I've solved my problem by not removing the whole sentence but removing a part of it and then build the server. Then remove the other part and build the server again. The line will no longer return back.