Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #88 from MozillaSocial/fix/moso-application-fields
Browse files Browse the repository at this point in the history
fix(config): change application name and website [MOSOWEB-90]
  • Loading branch information
jpezninjo authored Nov 27, 2023
2 parents b994281 + 4ae3ea0 commit e39dc8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const APP_NAME = 'Elk'
export const APP_NAME = 'Mozilla.social'
export const APP_WEBSITE = 'https://mozilla.social'

export const DEFAULT_POST_CHARS_LIMIT = 500
export const DEFAULT_FONT_SIZE = '15px'
Expand Down
4 changes: 2 additions & 2 deletions server/utils/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { env } from '#build-info'
import { driver } from '#storage-config'

import type { AppInfo } from '~/types'
import { APP_NAME } from '~/constants'
import { APP_NAME, APP_WEBSITE } from '~/constants'

import { makeAbsolutePath } from '~/utils/path.ts'

Expand Down Expand Up @@ -45,7 +45,7 @@ async function fetchAppInfo(origin: string, server: string) {
method: 'POST',
body: {
client_name: APP_NAME + (env !== 'release' ? ` (${env})` : ''),
website: 'https://elk.zone',
website: APP_WEBSITE,
redirect_uris: getRedirectURI(origin, server),
scopes: 'read write follow push',
},
Expand Down

0 comments on commit e39dc8b

Please sign in to comment.