Change default license branch to main

This commit is contained in:
Florine W. Dekker 2024-04-24 11:15:06 +02:00
parent a6faa1ebe8
commit 164a76d9fd
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
3 changed files with 2 additions and 2 deletions

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "@fwdekker/template",
"version": "3.6.4",
"version": "3.6.5",
"description": "The base template for pages on fwdekker.com.",
"author": "Florine W. Dekker",
"license": "MIT",

View File

@ -199,7 +199,7 @@ function footer(
if (author === undefined) author = "Florine W. Dekker";
if (authorURL === undefined) authorURL = "https://fwdekker.com/";
if (license === undefined) license = "MIT";
if (licenseURL === undefined && vcsURL !== undefined) licenseURL = `${vcsURL}src/branch/master/LICENSE`;
if (licenseURL === undefined && vcsURL !== undefined) licenseURL = `${vcsURL}src/branch/main/LICENSE`;
if (vcs === undefined && vcsURL !== undefined) vcs = "git";
if (privacyPolicyURL === undefined) privacyPolicyURL = "https://fwdekker.com/privacy/";