fix: 2 missed process.env spots on frontend
This commit is contained in:
@ -2,12 +2,13 @@
|
||||
import * as React from "react";
|
||||
import styled from "styled-components";
|
||||
import OutlineLogo from "./OutlineLogo";
|
||||
import env from "env";
|
||||
|
||||
type Props = {
|
||||
href?: string,
|
||||
};
|
||||
|
||||
function Branding({ href = process.env.URL }: Props) {
|
||||
function Branding({ href = env.URL }: Props) {
|
||||
return (
|
||||
<Link href={href}>
|
||||
<OutlineLogo size={16} /> Outline
|
||||
|
@ -65,7 +65,7 @@ class Login extends React.Component<Props, State> {
|
||||
const header =
|
||||
env.DEPLOYMENT === "hosted" &&
|
||||
(config.hostname ? (
|
||||
<Back href={process.env.URL}>
|
||||
<Back href={env.URL}>
|
||||
<BackIcon color="currentColor" /> Back to home
|
||||
</Back>
|
||||
) : (
|
||||
|
@ -46,7 +46,9 @@ class Tokens extends React.Component<Props> {
|
||||
<HelpText>
|
||||
You can create an unlimited amount of personal tokens to authenticate
|
||||
with the API. For more details about the API take a look at the{" "}
|
||||
<a href="/developers">developer documentation</a>.
|
||||
<a href="https://www.getoutline.com/developers">
|
||||
developer documentation
|
||||
</a>.
|
||||
</HelpText>
|
||||
|
||||
{hasApiKeys && (
|
||||
|
Reference in New Issue
Block a user