Fix URL pointing to wrong protocol
This commit is contained in:
parent
175f29eeb7
commit
e54ac03319
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export default () => {
|
||||||
putTxtHandler(state).then((data) => {
|
putTxtHandler(state).then((data) => {
|
||||||
setState({
|
setState({
|
||||||
...state,
|
...state,
|
||||||
result: `http://${window.location.host}/p?id=${data}`,
|
result: `${window.location.origin}/p?id=${data}`,
|
||||||
loading: false,
|
loading: false,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue