A smallest example that demonstrates the websocket issue on Azure webb app.
- Leiningen
- Maven
- Create pom file:
lein pom
- Configure webapp plugin:
mvn com.microsoft.azure:azure-webapp-maven-plugin:2.5.0:config
- Create a uberjar:
lein uberjar
- Update the
<deployment>
part inpom.xml
as follows:
<deployment>
<resources>
<resource>
<directory>${project.basedir}/target</directory>
<includes>
<include>app.jar</include>
</includes>
</resource>
</resources>
</deployment>
- Deploy:
mvn package azure-webapp:deploy