mirror of
https://github.com/arkorty/Reduce.git
synced 2026-03-18 00:47:10 +00:00
fix: remove reduce/ from request URI
This commit is contained in:
@@ -22,7 +22,7 @@ export default function Home() {
|
||||
const baseURL = window.location.origin;
|
||||
try {
|
||||
const response = await axios.post(
|
||||
`${process.env.NEXT_PUBLIC_BACKEND_URL}/reduce/shorten`,
|
||||
`${process.env.NEXT_PUBLIC_BACKEND_URL}/shorten`,
|
||||
{
|
||||
long_url: longUrl,
|
||||
base_url: baseURL,
|
||||
|
||||
Reference in New Issue
Block a user