Fix fetch() location for copy bookmarklet
This commit is contained in:
@@ -208,7 +208,7 @@ a {
|
||||
<sl-tag pill variant="primary">
|
||||
<a href="javascript:(async function() {
|
||||
try {
|
||||
const response = await fetch('{{ .writeHost }}', {
|
||||
const response = await fetch('https://{{ .writeHost }}/', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user