Skip to content

Instantly share code, notes, and snippets.

View Kannndev's full-sized avatar

Kannan Kannndev

View GitHub Profile
@Kannndev
Kannndev / nginx.conf
Created August 27, 2020 17:45
Nginx Conf
server {
listen 8081;
server_name localhost;
root /usr/local/var/www/ui;
index index.html;
location /ui {
try_files $uri $uri/ /index.html$is_args$args;
}
import React, { useEffect } from 'react';
import PropTypes from 'prop-types';
import loader from 'images/hire-loader.gif';
import { Redirect, matchPath } from 'react-router-dom';
import { ROLE_INTERVIEWER } from 'containers/App/constants';
function EmptyRouteComponent({
loggedInUserInfo,
history,