mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
11 lines
247 B
Ruby
11 lines
247 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Api::V1::HealthController < ApiController
|
|
skip_before_action :authenticate_api_key
|
|
|
|
def index
|
|
response.set_header('X-Dawarich-Response', 'Hey, I\'m alive!')
|
|
render json: { status: 'ok' }
|
|
end
|
|
end
|
|
|