For example, /api/v1/posts but currently it's only...
# ktor
m
For example, /api/v1/posts but currently it's only /posts
m
Nice! Thanks. Just one additional question. When creating this application.yaml file (using Netty). Will it be picked up automatically? Currently it does not seem to have any effect. This is my config:
Copy code
ktor:
  deployment:
    port: 8080
    rootPath: "/api"
  application:
    modules:
      - org.test.Application.module
I tried just for fun to add a program argument in my run configuration
-config=application.yaml
but that didn't work either. Hm
d
hocon is supported automatically for yaml you need extra dependency https://ktor.io/docs/configuration-file.html#configuration-file-overview
m
Ah, how could I miss that... Thanks again!
👍 1