Fix URL pointing to wrong protocol

This commit is contained in:
oitsjustjose 2021-06-21 20:31:51 -05:00
commit e54ac03319

View file

@ -83,7 +83,7 @@ export default () => {
putTxtHandler(state).then((data) => {
setState({
...state,
result: `http://${window.location.host}/p?id=${data}`,
result: `${window.location.origin}/p?id=${data}`,
loading: false,
});
});