jam-cloud/web/app/controllers/api_configs_controller.rb

15 lines
222 B
Ruby

class ApiConfigsController < ApiController
respond_to :json
def index
configs =
{
websocket_gateway_uri: APP_CONFIG.websocket_gateway_uri
}
render :json => configs, :status => 200
end
end