19 lines
545 B
Kotlin
19 lines
545 B
Kotlin
package space.luminic.budgerapp.controllers
|
|
|
|
import org.springframework.http.ResponseEntity
|
|
import org.springframework.web.bind.annotation.GetMapping
|
|
import org.springframework.web.bind.annotation.RequestMapping
|
|
import org.springframework.web.bind.annotation.RestController
|
|
|
|
|
|
@RestController
|
|
@RequestMapping("/push")
|
|
class SubsController {
|
|
|
|
|
|
|
|
@GetMapping("/vapid")
|
|
fun getVapid(): ResponseEntity<String> {
|
|
return ResponseEntity.ok("BKmMyBUhpkcmzYWcYsjH_spqcy0zf_8eVtZo60f7949TgLztCmv3YD0E_vtV2dTfECQ4sdLdPK3ICDcyOkCqr84")
|
|
}
|
|
} |