Closed AmoabaKelvin closed 10 months ago
Configuration Files Adjustment
The .env
and certificates
files are added to .gitignore
for enhanced security as these should not be tracked or uploaded to the repository.
Database Migration
Added a new SQL migration script (migration.sql
) to introduce structural database changes related to "Dynamic Links" functionality.
New Model in Database Schema
Introduced the DynamicLink
model in the Prisma ORM schema for managing dynamic links in the application.
New API endpoints Two new "GET" endpoints are created to handle requests related to dynamic link domains and subdomain validation.
UI Additions and Adjustments Introduced several new files and components for managing dynamic links and corresponding page views within the application at various locations. This includes adding react pages, forms, and actions for the dynamic links feature.
Regex Adjustments
Adjusted fullUrlRegex
in utils.ts
for more comprehensive URL pattern matching.
Middleware Enhancements
Updated middleware in src/middleware.ts
to include authentication handling for several new public routes and some user redirect logic for dashboard/homepage access.
Subdomain Validation Functionality
Introduced a new utility function getValidSubdomain
to verify subdomain availability and validity.
Configuration Object for Route Matchers
Added a config
object in the middleware to match and process specific routes.
Handling .well-known Assetlinks
Added a new file src/pages/.well-known/[assetlinks].tsx
to cater to well-known URLs and deliver specific assets, an essential aspect for dynamic links functionality.
The latest updates on your projects. Learn more about Vercel for Git ↗︎