Skip to content

Commit

Permalink
Merge pull request #2 from e-roy/patch-2
Browse files Browse the repository at this point in the history
change links in const to point to frontend url
  • Loading branch information
myz1237 authored Nov 19, 2022
2 parents a1da19f + 1574d73 commit 37fff06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/commands/find.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default new Command({
userDetail.findMember.hoursPerWeek ?? 0,
projectNames,
sprintf(LINK.USER, frenUser.id),
frenUser.id
frenUser.username
)
);

Expand Down
10 changes: 5 additions & 5 deletions src/utils/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type Link = Readonly<Record<LinkProperty, string>>;
type InternalError = Readonly<Record<ErroProperty, string>>;
type Content = Readonly<Record<ContentProperty, string>>;

const _frontend = process.env.PM2_FRONTEND ?? 'https://eden-develop.vercel.app';
const _frontend = process.env.PM2_FRONTEND ?? 'https://eden-foundation-develop.vercel.app';

export const NUMBER: Numerical = {
AWAIT_TIMEOUT: 15 * 1000,
Expand All @@ -61,14 +61,14 @@ export const NUMBER: Numerical = {
};

export const LINK: Link = {
DASHBOARD: _frontend + '/champion-dashboard',
DASHBOARD: _frontend + '/champion-board',
PROJECT_ALL: _frontend + '/projects?tab=1',
USER: 'https://www.soil.xyz/profile/%s/',
SIGNUP: _frontend + '/member/ginpsu',
USER: _frontend + '/profile/%s',
SIGNUP: _frontend + '/signup',
STAGING_ONBOARD: _frontend + 'onboard%s',
ROOM: 'https://eden-foundation-develop.vercel.app/onboard/party/%(roomId)s',
DISCORD_MSG: 'https://discord.com/channels/%(guildId)s/%(channelId)s/%(messageId)s',
LAUNCH_PROJECT: _frontend + '/form/%s',
LAUNCH_PROJECT: _frontend + '/launch',
PROJECT_TWEET: _frontend + '/projects/%s/feed',
GARDEN_FEED: 'https://eden-garden-front.vercel.app/',
GARDEN_GRAPH: 'https://garden-rho.vercel.app/',
Expand Down

0 comments on commit 37fff06

Please sign in to comment.