Replacing master branch with main branch
This commit is contained in:
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -7,10 +7,10 @@ name: "CodeQL"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [master]
|
branches: [main]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 6'
|
- cron: '0 0 * * 6'
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ cache: npm
|
|||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- npm ci
|
- npm ci
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="https://hoppscotch.io"><img src="https://raw.githubusercontent.com/hoppscotch/hoppscotch/master/static/logo.png" alt="hoppscotch.io logo" height="128"></a>
|
<a href="https://hoppscotch.io"><img src="https://raw.githubusercontent.com/hoppscotch/hoppscotch/main/static/logo.png" alt="hoppscotch.io logo" height="128"></a>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<p>
|
<p>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
[](https://hoppscotch.io) [](https://travis-ci.com/hoppscotch/hoppscotch) [](https://github.com/hoppscotch/hoppscotch/releases/latest) [](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)
|
[](https://hoppscotch.io) [](https://travis-ci.com/hoppscotch/hoppscotch) [](https://github.com/hoppscotch/hoppscotch/releases/latest) [](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)
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="https://hoppscotch.io"><img src="https://raw.githubusercontent.com/hoppscotch/hoppscotch/master/static/images/screenshot1.png" alt="Screenshot1" width="100%"></a>
|
<a href="https://hoppscotch.io"><img src="https://raw.githubusercontent.com/hoppscotch/hoppscotch/main/static/images/screenshot1.png" alt="Screenshot1" width="100%"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
#### **Contact**
|
#### **Contact**
|
||||||
@@ -286,7 +286,7 @@ _Notes are only available for signed-in users_
|
|||||||
|
|
||||||
## **Developing**
|
## **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)._
|
_Sample keys only works with the [production build](https://hoppscotch.io)._
|
||||||
|
|
||||||
|
|||||||
@@ -50,11 +50,11 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
itemprop: "image",
|
itemprop: "image",
|
||||||
content: `${process.env.BASE_URL}banner.jpg`,
|
content: `${process.env.BASE_URL}/banner.jpg`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: "og:image",
|
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)
|
// 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 module configuration (https://github.com/nuxt-community/sitemap-module)
|
||||||
sitemap: {
|
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)
|
// Robots module configuration (https://github.com/nuxt-community/robots-module)
|
||||||
@@ -177,7 +177,7 @@ export default {
|
|||||||
UserAgent: "*",
|
UserAgent: "*",
|
||||||
Disallow: "",
|
Disallow: "",
|
||||||
Allow: "/",
|
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)
|
// Color Mode module configuration (https://github.com/nuxt-community/color-mode-module)
|
||||||
@@ -325,7 +325,7 @@ export default {
|
|||||||
publicRuntimeConfig: {
|
publicRuntimeConfig: {
|
||||||
GA_ID: process.env.GA_ID || "UA-61422507-4",
|
GA_ID: process.env.GA_ID || "UA-61422507-4",
|
||||||
GTM_ID: process.env.GTM_ID || "GTM-NMKVBMV",
|
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)
|
// Private runtime configuration (https://nuxtjs.org/guide/runtime-config)
|
||||||
|
|||||||
Reference in New Issue
Block a user