mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Update the website links (#3120)
This commit is contained in:
parent
b8f76deff9
commit
1b718165d7
@ -89,8 +89,7 @@ export function getClientString() {
|
||||
}
|
||||
|
||||
export function changelogUrl(): string {
|
||||
const { changelogBaseUrl, version } = appConfig();
|
||||
return `${changelogBaseUrl}/${version}`;
|
||||
return appConfig().changelogUrl;
|
||||
}
|
||||
|
||||
// Global Stuff
|
||||
|
@ -54,7 +54,7 @@ const AccountDropdown = ({ className }: Props) => (
|
||||
</DropdownItem>
|
||||
)}
|
||||
{!session.isLoggedIn() && (
|
||||
<DropdownItem key="invite" buttonClass={Link} href="https://insomnia.rest/pricing/" button>
|
||||
<DropdownItem key="invite" buttonClass={Link} href="https://insomnia.rest/pricing" button>
|
||||
<StyledIconContainer>
|
||||
<i className="fa fa-users" />
|
||||
</StyledIconContainer>{' '}
|
||||
|
@ -122,13 +122,13 @@ class Account extends React.PureComponent<Props, State> {
|
||||
</p>
|
||||
<br />
|
||||
<div className="pad">
|
||||
<Link button className="btn btn--clicky" href="https://insomnia.rest/plus/">
|
||||
<Link button className="btn btn--clicky" href="https://insomnia.rest/pricing">
|
||||
Plus for Individuals <i className="fa fa-external-link" />
|
||||
</Link>
|
||||
<Link
|
||||
button
|
||||
className="margin-left-sm btn btn--clicky"
|
||||
href="https://insomnia.rest/teams/">
|
||||
href="https://insomnia.rest/pricing">
|
||||
Plus for Teams <i className="fa fa-external-link" />
|
||||
</Link>
|
||||
</div>
|
||||
|
@ -86,7 +86,7 @@ class ImportExport extends PureComponent {
|
||||
</DropdownItem>
|
||||
</Dropdown>
|
||||
|
||||
<Link href="https://insomnia.rest/create-run-button/" className="btn btn--compact" button>
|
||||
<Link href="https://insomnia.rest/create-run-button" className="btn btn--compact" button>
|
||||
Create Run Button
|
||||
</Link>
|
||||
</div>
|
||||
|
@ -287,7 +287,7 @@ class Plugins extends React.PureComponent<Props, State> {
|
||||
<div className="selectable force-pre-wrap">
|
||||
<b>{installPluginErrMsg}</b>
|
||||
{`\n\nThere may be an issue with the plugin itself, as a note you can discover and install plugins from the `}
|
||||
<a href="https://insomnia.rest/plugins/">Plugin Hub.</a>
|
||||
<a href="https://insomnia.rest/plugins">Plugin Hub.</a>
|
||||
<details>
|
||||
<summary>Additionl Information</summary>
|
||||
<pre className="pad-top-sm force-wrap selectable">
|
||||
|
@ -42,7 +42,7 @@ class ResponseError extends PureComponent {
|
||||
<Link
|
||||
button
|
||||
className="btn btn--clicky margin-top-sm"
|
||||
href="https://insomnia.rest/support/">
|
||||
href="https://insomnia.rest/support">
|
||||
Contact Support
|
||||
</Link>
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
"longName": "Insomnia",
|
||||
"synopsis": "The Collaborative API Client and Design Tool",
|
||||
"icon": "https://github.com/kong/insomnia/blob/develop/packages/insomnia-app/app/icons/icon.ico?raw=true",
|
||||
"changelogBaseUrl": "https://insomnia.rest/changelog/core",
|
||||
"changelogUrl": "https://insomnia.rest/changelog",
|
||||
"theme": "default",
|
||||
"main": "main.min.js",
|
||||
"githubOrg": "Kong",
|
||||
|
@ -70,7 +70,6 @@ async function start(app, version) {
|
||||
async function getOrCreateRelease(app, version) {
|
||||
const tag = `${app}@${version}`;
|
||||
const releaseName = `${appConfig().productName} ${version} 📦`;
|
||||
const changelogUrl = `https://insomnia.rest/changelog/${app}/${version}`;
|
||||
|
||||
try {
|
||||
return await octokit.repos.getReleaseByTag({
|
||||
@ -87,7 +86,7 @@ async function getOrCreateRelease(app, version) {
|
||||
repo: appConfig().githubRepo,
|
||||
tag_name: tag,
|
||||
name: releaseName,
|
||||
body: `Full changelog ⇒ ${changelogUrl}`,
|
||||
body: `Full changelog ⇒ ${appConfig().changelogUrl}`,
|
||||
draft: false,
|
||||
prerelease: true,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user