test for deployment

This commit is contained in:
2025-03-01 18:55:08 +01:00
parent 01efe8477d
commit 99eee2b30a
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ export default function Calendar({
onClick={() => {
axios
.delete(
`/api/posts`,
`https://klayrion.netlify.app/api/posts`,
{
params: {
id: sessionId,
+1 -1
View File
@@ -15,7 +15,7 @@ export default function CalendarApp() {
const [events, setEvents] = useState<CalendarSchedule[]>([]);
useEffect(() => {
axios.get(`/api/posts/?id=${sessionId}`).then((response) => {
axios.get(`https://klayrion.netlify.app/api/posts/?id=${sessionId}`).then((response) => {
const v = response.data.schedules.map((e: any) => ({
date: parse(e.scheduled, 'yyyy-MM-dd HH:mm', new Date()),
platforms: e.platforms,
+2 -2
View File
@@ -126,7 +126,7 @@ export default function PostDialog({
<Button
variant="secondary"
onClick={() => {
axios.post('/api/posts', {
axios.post('https://klayrion.netlify.app/api/posts', {
sessionId,
platforms: ['andjksds'],
content,
@@ -139,7 +139,7 @@ export default function PostDialog({
</Button>
<Button
onClick={async () => {
const { data } = await axios.put('/api/posts', {
const { data } = await axios.put('https://klayrion.netlify.app/api/posts', {
scheduled: format(date, 'y-MM-dd hh:mm'),
sessionId,
platforms: ['andjksds'],
+1 -1
View File
@@ -19,7 +19,7 @@ export default function Login() {
const handleLogin = async () => {
try {
const { sessionId } = (
await axios.post('/api/session/', {
await axios.post('https://klayrion.netlify.app/api/session/', {
email,
password,
})
+1 -1
View File
@@ -50,7 +50,7 @@ export default function SignUp() {
console.log('Password:', password);
axios
.post('/api/account/', {
.post('https://klayrion.netlify.app/api/account/', {
name,
email,
password,