thunderbird / appointment

Invite others to grab times on your calendar. Choose a date. Make appointments as easy as it gets.
https://appointment.day
Mozilla Public License 2.0
222 stars 8 forks source link

consolidate apmt.day with appointment.day routes #638

Open malini opened 2 months ago

malini commented 2 months ago

Is your feature request related to a problem? Please describe. a user notes that "appointment" being quite a long word to type, [they] will try to use apmt.day to go to appointment.day; but we currentl redirect apmt.day (with or without trailing slash) to appointment.day/user/ which goes to a "Sorry, this page could not be found." instead of the splash page. also applies to the empty/root path, which results in an error page. If it's not too difficult it would be neat to redirect https://apmt.day/ to https://appointment.day/.

Describe the solution you'd like apmt.day should go to appointment.day. We can look at other routes that we may need to consolidate

MelissaAutumn commented 2 months ago

Right now its setup as a redirect to /user/ https://github.com/thunderbird/appointment/blob/43e59938c0b4367a0227281aef874300419bfacf/tofu/modules/services/backend-infra/main.tf#L120

Once we move the frontend routing back to our application it should be easy to conditionally redirect based on no path (to appointment.day) vs path (for /user/)

MelissaAutumn commented 2 months ago

Blocked by https://github.com/thunderbird/appointment/issues/560