Skip to content

Commit

Permalink
chore: update readme (#1101)
Browse files Browse the repository at this point in the history
* chore: worker cron action

* update next.config.js, MentionMatcher.tsx and general.ts

* ci: update deploy-workers.yml
  • Loading branch information
sasicodes authored Nov 3, 2023
1 parent 1b04ca4 commit f0cc51d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<br>
<div align="center">
<a href="https://tape.xyz/u/sasicodes.lens">
<img src="https://lens-badge.vercel.app/api/badge/sasicodes.lens" alt="Lens">
<img src="https://lens-badge.vercel.app/api/badge/lens/sasicodes" alt="Lens">
</a>
<a href="https://www.gitpoap.io/gh/lenstube-xyz/lenstube">
<img src="https://public-api.gitpoap.io/v1/repo/lenstube-xyz/lenstube/badge" alt="Gitpoap">
Expand Down
10 changes: 8 additions & 2 deletions apps/web/src/components/Common/matchers/MentionMatcher.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { COMMON_REGEX, LENS_NAMESPACE_PREFIX } from '@tape.xyz/constants'
import {
COMMON_REGEX,
LEGACY_LENS_HANDLE_SUFFIX,
LENS_NAMESPACE_PREFIX
} from '@tape.xyz/constants'
import { Matcher } from 'interweave'
import Link from 'next/link'
import React from 'react'
Expand All @@ -7,7 +11,9 @@ import type { MentionProps } from './utils'

const ProfileLink = ({ ...props }: any) => {
const namespace = props.display?.slice(1) as string
const handle = namespace.replace(LENS_NAMESPACE_PREFIX, '')
const handle = namespace
.replace(LENS_NAMESPACE_PREFIX, '')
.replace(LEGACY_LENS_HANDLE_SUFFIX, '')

return (
<Link
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tape.xyz",
"description": "Talk, Amplify, Post, Explore",
"version": "1.0.5-beta",
"version": "2.0.0-beta",
"private": true,
"workspaces": [
"apps/*",
Expand Down
1 change: 1 addition & 0 deletions packages/constants/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export const ALLOWED_UPLOAD_MIME_TYPES = [
]

export const LENS_NAMESPACE_PREFIX = IS_MAINNET ? 'lens/' : 'test/'
export const LEGACY_LENS_HANDLE_SUFFIX = IS_MAINNET ? '.lens' : '.test'

// other apps
export const HEY_WEBSITE_URL = IS_MAINNET
Expand Down

3 comments on commit f0cc51d

@vercel
Copy link

@vercel vercel bot commented on f0cc51d Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

www.tape.xyz
tape.xyz
web-git-main-tapexyz.vercel.app
web-tapexyz.vercel.app

@vercel
Copy link

@vercel vercel bot commented on f0cc51d Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

api – ./apps/api

api-tapexyz.vercel.app
api.tape.xyz
api-git-main-tapexyz.vercel.app
api.lenstube.xyz

@vercel
Copy link

@vercel vercel bot commented on f0cc51d Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

embed – ./apps/embed

embed-git-main-tapexyz.vercel.app
embed-tapexyz.vercel.app
embed.tape.xyz
embed.lenstube.xyz

Please sign in to comment.