JSFiddle - React, Tailwind, and code Playground

by Santosh Thakur

JavaScript

var url = window.location;
//url = url.replace("?", '');
var a = url.hostname;
var b = url.pathname;
console.log(a  + "--" +  b);