Tika
12/04/2021, 10:52 AMSeriousBug
12/04/2021, 10:53 AMTika
12/04/2021, 10:54 AMSeriousBug
12/04/2021, 10:55 AMTika
12/04/2021, 10:57 AMfoureyedsoul
12/04/2021, 5:38 PMbenhsm | Jack of N trades
12/04/2021, 5:49 PMuser
12/06/2021, 4:13 PMnpx dendron publish dev
. The src
attribute is getting prefixed with /david-dendron
(the workspace name), when it should not be (red arrow in screenshot). Removing that from the URL shows the image (green arrow). Any ideas?user
12/06/2021, 5:09 PMuser
12/06/2021, 11:27 PMRedirect note.html to note
, how do we feel about a solution like this in 404.js
? @User
https://github.com/dendronhq/dendron/issues/1803
// pages/404.js
// Don't run `window` functions on node processes that don't have a window yet.
const isServer = () => typeof window === 'undefined'
export default function Custom404() {
if (!isServer()) {
const currentUrl = window.location.toString();
const endsWithHtml = /(.+)\/notes\/(\w+).html/;
const urlParts = currentUrl.match(endsWithHtml);
if (urlParts) {
console.log(currentUrl, urlParts)
const server = urlParts[1];
const noteId = urlParts[2];
const newUrl = `${server}/notes/${noteId}`
window.location = newUrl
}
}
return <h1>404 - Move along. Nothing to see here.</h1>;
}
user
12/06/2021, 11:29 PMkevins8
12/06/2021, 11:42 PMuser
12/07/2021, 12:32 AMuser
12/07/2021, 3:39 PMreteP
12/08/2021, 12:42 AMkevins8
12/08/2021, 12:57 AMreteP
12/08/2021, 1:00 AMreteP
12/08/2021, 1:00 AMkevins8
12/08/2021, 1:00 AMSeriousBug
12/10/2021, 10:58 PMkevins8
12/10/2021, 11:01 PMkevins8
12/10/2021, 11:01 PMSeriousBug
12/10/2021, 11:03 PM1.56
and not something like 1.64
.Nidoling
12/15/2021, 6:54 AMerror An unexpected error occurred: "Failed to replace env in config: ${NPM_TOKEN}".
I saw the same issue locally but resolved by removing .npmrc
. Is there something I need to do to get the tests to run on git?SeriousBug
12/21/2021, 9:28 AMkevins8
12/21/2021, 3:17 PMhikchoi
12/21/2021, 3:21 PMuser
12/22/2021, 2:26 PMkevins8
12/22/2021, 4:40 PMkevins8
12/22/2021, 4:41 PM