Skip to content

Commit 54ce567

Browse files
committed
Update sitemap and enhance homepage content
- Added 'Enterprise Security' feature to the sitemap for improved navigation. - Updated tech stack description for 'Upstash' to clarify its role as a 'Serverless Redis Database & Rate Limiting'. - Changed the documentation link in the homepage from '/docs' to '/docs/api' for better user guidance. - Modified UppyProvider to enable 'overridePatchMethod' for improved file upload handling.
1 parent adc274f commit 54ce567

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/(home)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const techStack = [
3636
{
3737
name: 'Upstash',
3838
icon: 'upstash',
39-
role: 'Rate Limiting & Caching',
39+
role: 'Serverless Redis Database & Rate Limiting',
4040
gradient: 'from-purple-500 to-purple-600',
4141
},
4242
{
@@ -114,7 +114,7 @@ export default function HomePage() {
114114
animate={{ opacity: 1, y: 0 }}
115115
transition={{ delay: 0.6 }}
116116
>
117-
<Link href="/docs" className="w-full sm:w-auto">
117+
<Link href="/docs/api" className="w-full sm:w-auto">
118118
<Button
119119
size="lg"
120120
className="w-full sm:w-auto font-medium text-sm sm:text-base h-10 sm:h-12 px-6 sm:px-8 bg-gradient-to-r from-orange-600 to-red-600 hover:from-orange-700 hover:to-red-700"

app/sitemap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
3232
'/docs/api/features/edge-computing',
3333
'/docs/api/features/observability',
3434
'/docs/api/features/storage',
35+
'/docs/api/features/enterprise-security',
3536
].map((route) => ({
3637
url: `${baseUrl}${route}`,
3738
lastModified: new Date().toISOString().split('T')[0],

components/UppyProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const UppyProvider: React.FC<{ children: React.ReactNode }> = ({
5959
endpoint: process.env.NEXT_PUBLIC_WORKERS_API_ENDPOINT,
6060
limit: 5,
6161
withCredentials: true,
62-
overridePatchMethod: false,
62+
overridePatchMethod: true,
6363
removeFingerprintOnSuccess: true,
6464
retryDelays: [0, 1000, 3000, 5000],
6565
onBeforeRequest: (req, file) => {

0 commit comments

Comments
 (0)