Remove demo from readme as users can create free trial on production (#9952)

We have recently introduced the possibility to sign up on Twenty cloud
without having to input a credit card which makes the demo.twenty.com
useless. Deprecating it!
This commit is contained in:
Charles Bochet
2025-01-31 15:36:30 +01:00
committed by GitHub
parent 2ab88a6cfe
commit 591301f7ce
5 changed files with 7 additions and 22 deletions

View File

@ -1,8 +1,8 @@
'use client';
import { usePathname, useRouter } from 'next/navigation';
import React, { useEffect, useState } from 'react';
import { TbApi, TbChevronLeft, TbLink } from 'react-icons/tb';
import { usePathname, useRouter } from 'next/navigation';
// @ts-expect-error Migration loader as text not passing warnings
import tokenForm from '!css-loader!./token-form.css';
@ -71,8 +71,8 @@ const TokenForm = ({
let url: string;
if (locationSetting === 'production') {
url = 'https://api.twenty.com';
} else if (locationSetting === 'demo') {
url = 'https://api-demo.twenty.com';
} else if (locationSetting === 'next') {
url = 'https://api.twenty-next.com';
} else if (locationSetting === 'localhost') {
url = 'http://localhost:3000';
} else {