CopyPastor

Detecting plagiarism made easy.

Score: 1.8200106620788574; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2022-11-26
by Omkar T

Original Post

Original - Posted on 2022-11-26
by Omkar T



            
Present in both answers; Present only in the new answer; Present only in the old answer;

You can enable development mode like this in Ktor
In file `application.conf`
``` ktor { development = true deployment { port = 8080 port = ${?PORT} } application { modules = [ com.myapp.ApplicationKt.module ] } } jwt { domain = "https://jwt-provider-domain/" audience = "jwt-audience" realm = "ktor sample app" }
```
and check with ``` fun Application.module() { println("developmentMode: " +this.environment.developmentMode) ...
```
For me it worked with this code in `application.conf`
``` ktor { development = true deployment { port = 8080 port = ${?PORT} } application { modules = [ com.myapp.ApplicationKt.module ] } } jwt { domain = "https://jwt-provider-domain/" audience = "jwt-audience" realm = "ktor sample app" }
```
and this is how i checked it ``` fun Application.module() { println("developmentMode: " +this.environment.developmentMode) ...
```

        
Present in both answers; Present only in the new answer; Present only in the old answer;