Skip to content

Commit

Permalink
Update public url
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Oct 6, 2021
1 parent b85670f commit 0d63453
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module.exports = function (eleventyConfig) {
}
// Generate absolute urls for <a> tags - Parcel doesn't rename them anyway.
// Otherwise, prepend the base URL so we get an absolute path.
let baseUrl = element === 'a' ? 'https://v2.parceljs.org' + base : base;
let baseUrl = element === 'a' ? 'https://parceljs.org' + base : base;
return urlJoin(baseUrl, url);
}
}))
Expand Down
2 changes: 1 addition & 1 deletion public-url.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
switch (process.env.VERCEL_ENV) {
case 'production':
process.stdout.write('https://v2.parceljs.org');
process.stdout.write('https://parceljs.org');
break;
case 'preview':
process.stdout.write('https://' + process.env.VERCEL_URL);
Expand Down
4 changes: 2 additions & 2 deletions src/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"title": "Parcel Blog",
"subtitle": "Blog for the blazing fast, zero configuration web application bundler",
"url": "https://v2.parceljs.org",
"feedUrl": "https://v2.parceljs.org/feed.xml",
"url": "https://parceljs.org",
"feedUrl": "https://parceljs.org/feed.xml",
"author": {
"name": "Devon Govett",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": 2,
"alias": ["v2.parceljs.org"]
"alias": ["parceljs.org"]
}

0 comments on commit 0d63453

Please sign in to comment.