Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Cal.com
  3. Environment variables NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL and NEXT_PUBLIC_WEBSITE_TERMS_URL for custom privacy policy and terms URLs ignored

Environment variables NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL and NEXT_PUBLIC_WEBSITE_TERMS_URL for custom privacy policy and terms URLs ignored

Scheduled Pinned Locked Moved Cal.com
15 Posts 6 Posters 1.0k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M marylou

    Hi,

    I’m unsure if this issue is caused by the app itself or the Cloudron packaging.

    We need the ability to set custom links for our privacy policy and terms. Currently, even after configuring the custom variables as instructed, the links still redirect to cal.com.

    J Offline
    J Offline
    jkammerer
    wrote on last edited by
    #3

    @marylou i tried to set these today and had no luck. were you able to resolve the issue?

    1 Reply Last reply
    1
    • M Offline
      M Offline
      msbt
      App Dev
      wrote on last edited by
      #4

      There's an active discussion (although on a closed issue) going on, where someone posted a temporary "fix" yesterday: https://github.com/calcom/cal.com/issues/18308#issuecomment-3296191447

      1 Reply Last reply
      1
      • M Offline
        M Offline
        marylou
        wrote on last edited by marylou
        #5

        Thank you, @msbt
        I don't think Cloudron users can use this fix?

        M 1 Reply Last reply
        0
        • M marylou

          Thank you, @msbt
          I don't think Cloudron users can use this fix?

          M Offline
          M Offline
          msbt
          App Dev
          wrote on last edited by
          #6

          @marylou not that exact fix, but in theory we could replace certain things as well, provided the image doesn't override them again

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #7

            since nextjs apps are designed to be built with the various domains known prior to building and then being deployed, this results in pretty much a hack already in our packaging code, where we replace magic strings in the build assets on app startup. Presumably we have to do the same for those then with the fallback mentioned at https://github.com/calcom/docker/pull/433/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R222

            Will try to prepare a package change for those

            1 Reply Last reply
            3
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote last edited by
              #8

              So the change is prepared and ready to go at https://git.cloudron.io/packages/calcom-app/-/merge_requests/172 however while the app works when changing those URLs I am actually not sure where those are even displayed. At least I wasn't able to find any. @marylou can you point me in the right direction so I can validate my change?

              1 Reply Last reply
              1
              • M Offline
                M Offline
                msbt
                App Dev
                wrote last edited by
                #9

                @nebulon if you click on an available day and select a timeslot, you get to the detail-view, where the links are at the bottom, next to the confirm button:

                image.png

                1 Reply Last reply
                1
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote last edited by
                  #10

                  ah wow, thanks I as on the lookout for some footer or so

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote last edited by
                    #11

                    nice that worked. So next calcom release will include a way to customize those then.

                    1 Reply Last reply
                    1
                    • M Offline
                      M Offline
                      marylou
                      wrote last edited by
                      #12

                      Absolutely amazing! Thank you so so much, @nebulon!

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        msbt
                        App Dev
                        wrote last edited by
                        #13

                        thanks indeed @nebulon, good stuff!

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          jkammerer
                          wrote last edited by
                          #14

                          it works. thank you.

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            Neiluj
                            wrote last edited by
                            #15

                            Also from here - Thank you

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search