Skip to content

Commit

Permalink
websocket is the king
Browse files Browse the repository at this point in the history
  • Loading branch information
mstahv committed Feb 22, 2024
1 parent c423eee commit b15dbeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo/src/main/java/com/example/application/Application.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.example.application;

import com.vaadin.flow.component.page.AppShellConfigurator;
import com.vaadin.flow.component.page.Push;
import com.vaadin.flow.shared.ui.Transport;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

Expand All @@ -17,6 +19,7 @@
@SpringBootApplication
@Theme("nps")
@PWA(shortName = "Feedback", name = "Feedback")
@Push(transport = Transport.WEBSOCKET)
public class Application implements AppShellConfigurator {

public static void main(String[] args) {
Expand Down

0 comments on commit b15dbeb

Please sign in to comment.