https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • c

    Ceru ©

    01/29/2021, 11:20 PM
    interesting how the HTMLRewriter sanitises inserted content tho
  • c

    Ceru ©

    01/29/2021, 11:20 PM
    its not mentioned in the docs
  • c

    Ceru ©

    01/29/2021, 11:21 PM

    https://nyc3.digitaloceanspaces.com/cerulean/screenshots/2021/01/firefox_NShtgarxXx.png▾

  • c

    Ceru ©

    01/29/2021, 11:22 PM
    oh wait im dumb, i missed the contentoptions object
  • c

    Ceru ©

    01/29/2021, 11:28 PM
    if you really dont like how a website is designed, import an entirely new design system
  • c

    Ceru ©

    01/29/2021, 11:28 PM
  • c

    Ceru ©

    01/29/2021, 11:29 PM
    (i did the new line functions to make it easier to read in the playground editor)
  • c

    Ceru ©

    01/30/2021, 6:05 AM
    after a long night of coding, i got something together
  • n

    Nihal

    01/30/2021, 7:34 AM
    Hello everyone! I'm deploying a simple NextJS application to Cloudflare Pages and get the following error though it runs well locally.
    Copy code
    /bin/sh: 1: next: not found
    And here is my full log file. https://www.dropbox.com/s/su5n2qpvg8z9xcm/log.txt?dl=0 Please let me know how I can resolve this issue. And here is my package.json file https://www.dropbox.com/s/harrbccjn4qcze1/package.json?dl=0
  • n

    Nihal

    01/30/2021, 10:27 AM
    Please anybody helps me 🙂 😩
  • c

    CodeCo

    01/30/2021, 3:53 PM
    What's your build command set to?
  • n

    Nihal

    01/30/2021, 4:07 PM
    next build && next export
  • n

    Nihal

    01/30/2021, 4:08 PM
    While the framework preset is set as Next.js
  • g

    GeGe

    01/30/2021, 4:34 PM
    Is there a way to tell how many users are returning to your website using Cloudflare analytics? Because I only see Unique Visitors but not Returning Visitors in the Overview tab. Thank you in advance!
  • i

    itsmatteomanf

    01/30/2021, 7:47 PM
    That isn’t a question for here. Try asking that in the Community.
  • e

    eidam | SuperSaaS

    01/31/2021, 9:42 AM
    Anyone using API Shield with Workers? Any hints how to check the cert was verified in the Worker? I am thinking of protecting couple of paths with API Shield however a wanna avoid any human errors and exposing them while setting it up/changing domain/paths, etc https://developers.cloudflare.com/firewall/cf-firewall-rules/api-shield
  • e

    eidam | SuperSaaS

    01/31/2021, 9:46 AM
    Perhaps
    cf.tlsClientAuth.certVerified
    👀 (even though it says its for Cloudflare Access) https://developers.cloudflare.com/workers/runtime-apis/request#incomingrequestcfproperties
  • e

    eidam | SuperSaaS

    01/31/2021, 10:37 AM
    If anyone interested in the same,
    cf.tlsClientAuth.certVerified
    is exactly what I was looking for. Its also used in the API Shield firewall rules.
  • u

    !💲мυѕтαғα öɴcel

    01/31/2021, 5:32 PM
    Hi. Using Cloudflare Workers for a while now. It is great. Just two things in my head. Can I do something about the "Client Disconnected" invocation status? Or Cloudflare automatically handles it and just shows it on Invocation Statues tab for analytic purposes? Other than that, when I enable atleast one worker for a cloudflare site, the Percent Cached value in the home page and in the Analytic page (referred as "Cached Requests" in Analytics page) drops. What that value really means and why a worker causes it to drop like that?
  • c

    Carl

    01/31/2021, 9:38 PM
    Anyone using coralogix with workers, was looking to implement https://github.com/coralogix/nodejs-coralogix-sdk/tree/master/examples Instead of making direct https calls. After some research it seemed that I needed to null the following.
    Copy code
    fs: path.resolve(__dirname, './null.js'),
          net: path.resolve(__dirname, './null.js'),
          tls: path.resolve(__dirname, './null.js'),
    Though I am now hitting issues with each of the libraries. I am curious if I was mistaken thinking I could null net and tls like I did FS.
  • d

    dalek_cos

    01/31/2021, 9:44 PM
    Has someone tried to do workers with IoT?
  • w

    Walshy | Pages

    01/31/2021, 9:45 PM
    plan to but haven't done it yet
  • d

    dalek_cos

    01/31/2021, 9:46 PM
    Same. I was trying to see if I could replace something on Azure App Service with Workers. But the biggest obstacle would be the DB because it is SQL
  • d

    dalek_cos

    01/31/2021, 9:46 PM
    On the bright side I could move a dashboard from S3 to Pages once I’m allowed to enter the Beta
  • c

    Carl

    01/31/2021, 9:48 PM
    I am, There are actually a lot of good official blogs on it. - https://developers.cloudflare.com/ssl/client-certificates/configure-your-mobile-app-or-iot-device
  • d

    dalek_cos

    01/31/2021, 9:48 PM
    Thanks
  • d

    dalek_cos

    01/31/2021, 9:48 PM
    Carl
  • c

    Carl

    01/31/2021, 9:48 PM
    The mTLS flow is pretty nice. Just not well documented yet
  • d

    dalek_cos

    01/31/2021, 9:49 PM
    Could we open a Careers Chanel for people interested in CF? Or would that be out of the scope of this server?
  • g

    Greg Brimble | Cloudflare Pages

    01/31/2021, 11:01 PM
    Workers adjacent (but I imagine if anyone's done it, it'll be the people in this server): has anyone tried making a custom UI for Cloudflare Access? I'm aware that the branding is customizable, but I'm wondering if it's possible to completely make the UI from scratch. From a quick look, I think it's probably possible (probably with a Worker to proxy across a form submission). Just wondering if anyone's beaten me to the punch with something I could re-use.
1...777879...2509Latest