sathoro
04/25/2023, 2:52 PMreplace(/<[^>]*>?/gm, '')
sathoro
04/25/2023, 2:53 PMsathoro
04/25/2023, 2:55 PMscript
tags and such but since it is already run through readability that should all be stripped anyways...James
04/25/2023, 2:55 PMJames
04/25/2023, 2:55 PMJames
04/25/2023, 2:56 PMsathoro
04/25/2023, 2:56 PMsathoro
04/25/2023, 3:01 PMJames
04/25/2023, 3:03 PMfrankjonen
04/25/2023, 3:43 PMincludes
folder where the .js
file name is the script: …pages.dev/includes/contact.php
that has the same content as the index.html. Is it actually possible to do that on Cloudflare? I was thinking of switching from AWS.kian
04/25/2023, 3:46 PMfrankjonen
04/25/2023, 3:56 PM[Error] Failed to load resource: the server responded with a status of 405 () (contactform.php, line 0)
I just put it back up for testing, https://fjtest.pages.dev
the mail form is at the bottom, clicking it errors the form with undefined and creates the error log.kian
04/25/2023, 3:57 PMfrankjonen
04/25/2023, 3:59 PMfunctions/_middleware.ts
from the pages plug-in and added my email address to it.HardAtWork
04/25/2023, 4:00 PMcontactform.php
maybe?frankjonen
04/25/2023, 4:02 PMPOST
action, that the plug-in acts on any form carrying data-static-form-name="contact"
.HardAtWork
04/25/2023, 4:08 PMfrankjonen
04/25/2023, 4:12 PMhttps://ff150b35.fjtest.pages.dev/includes/contactform.php
that then don't work. You can look at the HTML, there's nothing calling for a contactform.php
.sathoro
04/25/2023, 4:16 PMHardAtWork
04/25/2023, 4:18 PMHardAtWork
04/25/2023, 4:18 PMsathoro
04/25/2023, 4:20 PMfrankjonen
04/25/2023, 4:22 PMbret_pat
04/25/2023, 5:27 PMMozzy
04/25/2023, 5:34 PMUnsmart | Tech debt
04/25/2023, 6:07 PMMozzy
04/25/2023, 6:09 PMrequest.headers.get("x-real-ip")
will not be there?