TutorialsEdit Agreement

Update Website Agreement

Before officially launching your website, please update the website agreements in the app/(legal) directory according to your website’s services.

Update Privacy Policy

In Cursor, generate new privacy policy content using the prompt.

Prompt
update privacy-policy according to landing page content @en.json
with brand name "ShipAny", domain "shipany.ai", contact email is "[email protected]"

Replace the content in the app/(legal)/privacy-policy/page.mdx file to update the privacy policy.

update-privacy

Update Terms of Service

In Cursor, generate new terms of service content using the prompt.

Prompt
update terms-of-service according to landing page content @en.json
with brand name "ShipAny", domain "shipany.ai", contact email is "[email protected]"

Replace the content in the app/(legal)/terms-of-service/page.mdx file to update the terms of service.

update-terms

Update Route Configuration

The privacy policy and terms of service of the website are defaulted in the app/(legal) directory and do not support multiple languages. Accessible through the /privacy-policy and /terms-of-service root paths. If you want to support multiple languages, you can move the content in the app/(legal) directory to the app/[locale] directory. You can access the privacy policy and terms of service in the corresponding language through /zh/privacy-policy and /zh/terms-of-service.

You need to modify the route configuration in the app/middleware.ts file:

update-middleware