diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a84631a9a..99a7b11bf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -7,10 +7,10 @@ name: "CodeQL" on: push: - branches: [master] + branches: [main] pull_request: # The branches below must be a subset of the branches above - branches: [master] + branches: [main] schedule: - cron: '0 0 * * 6' diff --git a/.travis.yml b/.travis.yml index 423b9ccfb..7289cfde0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ cache: npm branches: only: - - master + - main install: - npm ci diff --git a/README.md b/README.md index c5c13a265..a331d23ae 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- hoppscotch.io logo + hoppscotch.io logo

@@ -10,7 +10,7 @@

-[![Website](https://img.shields.io/website?url=https%3A%2F%2Fhoppscotch.io&logo=postwoman)](https://hoppscotch.io) [![Travis Build Status](https://img.shields.io/travis/com/hoppscotch/hoppscotch/master?logo=Travis)](https://travis-ci.com/hoppscotch/hoppscotch) [![GitHub release](https://img.shields.io/github/release/hoppscotch/hoppscotch/all?logo=GitHub)](https://github.com/hoppscotch/hoppscotch/releases/latest) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fhoppscotch.io%2F)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fhoppscotch.io&text=%F0%9F%91%BD%20hoppscotch%20%E2%80%A2%20API%20request%20builder%20-%20Helps%20you%20create%20your%20requests%20faster%2C%20saving%20you%20precious%20time%20on%20your%20development&original_referer=https%3A%2F%2Ftwitter.com%2Fshare%3Ftext%3D%25F0%259F%2591%25BD%2520hoppscotch%2520%25E2%2580%25A2%2520API%2520request%2520builder%2520-%2520Helps%2520you%2520create%2520your%2520requests%2520faster%2C%2520saving%2520you%2520precious%2520time%2520on%2520your%2520development%26url%3Dhttps%3A%2F%2Fhoppscotch.io%26hashtags%3Dhoppscotch%26via%3Dliyasthomas&via=liyasthomas&hashtags=hoppscotch) +[![Website](https://img.shields.io/website?url=https%3A%2F%2Fhoppscotch.io&logo=postwoman)](https://hoppscotch.io) [![Travis Build Status](https://img.shields.io/travis/com/hoppscotch/hoppscotch/main?logo=Travis)](https://travis-ci.com/hoppscotch/hoppscotch) [![GitHub release](https://img.shields.io/github/release/hoppscotch/hoppscotch/all?logo=GitHub)](https://github.com/hoppscotch/hoppscotch/releases/latest) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fhoppscotch.io%2F)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fhoppscotch.io&text=%F0%9F%91%BD%20hoppscotch%20%E2%80%A2%20API%20request%20builder%20-%20Helps%20you%20create%20your%20requests%20faster%2C%20saving%20you%20precious%20time%20on%20your%20development&original_referer=https%3A%2F%2Ftwitter.com%2Fshare%3Ftext%3D%25F0%259F%2591%25BD%2520hoppscotch%2520%25E2%2580%25A2%2520API%2520request%2520builder%2520-%2520Helps%2520you%2520create%2520your%2520requests%2520faster%2C%2520saving%2520you%2520precious%2520time%2520on%2520your%2520development%26url%3Dhttps%3A%2F%2Fhoppscotch.io%26hashtags%3Dhoppscotch%26via%3Dliyasthomas&via=liyasthomas&hashtags=hoppscotch)

@@ -22,7 +22,7 @@

- Screenshot1 + Screenshot1
#### **Contact** @@ -286,7 +286,7 @@ _Notes are only available for signed-in users_ ## **Developing** -0. Update [`.env.example`](https://github.com/hoppscotch/hoppscotch/blob/master/.env.example) file found in repository's root directory with your own keys and rename it to `.env`. +0. Update [`.env.example`](https://github.com/hoppscotch/hoppscotch/blob/main/.env.example) file found in repository's root directory with your own keys and rename it to `.env`. _Sample keys only works with the [production build](https://hoppscotch.io)._ diff --git a/nuxt.config.js b/nuxt.config.js index 5025df603..e69b3eb24 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -50,11 +50,11 @@ export default { }, { itemprop: "image", - content: `${process.env.BASE_URL}banner.jpg`, + content: `${process.env.BASE_URL}/banner.jpg`, }, { property: "og:image", - content: `${process.env.BASE_URL}banner.jpg`, + content: `${process.env.BASE_URL}/banner.jpg`, }, // Add to homescreen for Chrome on Android. Fallback for PWA (handled by nuxt) { @@ -169,7 +169,7 @@ export default { // Sitemap module configuration (https://github.com/nuxt-community/sitemap-module) sitemap: { - hostname: process.env.BASE_URL || "https://hoppscotch.io/", + hostname: process.env.BASE_URL || "https://hoppscotch.io", }, // Robots module configuration (https://github.com/nuxt-community/robots-module) @@ -177,7 +177,7 @@ export default { UserAgent: "*", Disallow: "", Allow: "/", - Sitemap: `${process.env.BASE_URL}sitemap.xml`, + Sitemap: `${process.env.BASE_URL}/sitemap.xml`, }, // Color Mode module configuration (https://github.com/nuxt-community/color-mode-module) @@ -325,7 +325,7 @@ export default { publicRuntimeConfig: { GA_ID: process.env.GA_ID || "UA-61422507-4", GTM_ID: process.env.GTM_ID || "GTM-NMKVBMV", - BASE_URL: process.env.BASE_URL || "https://hoppscotch.io/", + BASE_URL: process.env.BASE_URL || "https://hoppscotch.io", }, // Private runtime configuration (https://nuxtjs.org/guide/runtime-config)