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