Giter Site home page Giter Site logo

Comments (4)

cretz avatar cretz commented on May 25, 2024

On Windows, I have done a fresh clone of this repo, a go run ./cmd/temporalite start --ephemeral --namespace default, and visited http://localhost:8233. I am able to see and interact with the UI as expected.

Closing this issue as unable to replicate. This may have been fixed with more recent versions. If anyone is still getting issues, please reopen/comment.

from temporalite-archived.

RaymondKroon avatar RaymondKroon commented on May 25, 2024

I think this is because on windows the content-type of the files is incorrectly set to text/plain:
Refused to execute script from 'http://127.0.0.1:8233/prism/prism.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

I am still having the same problem. Also after a fresh clone.

from temporalite-archived.

cretz avatar cretz commented on May 25, 2024

I do not have this issue. When I go to the UI, I can confirm in the network dev tools tab that prism.js is indeed delivered with content type of text/javascript (same if I go directly to the prism.js URL). What version of Temporalite are you using?

from temporalite-archived.

RaymondKroon avatar RaymondKroon commented on May 25, 2024

Apparently Go uses the windows registry for determining the content-type: golang/go#32350
Mine was set to text/plain (reg query HKCR\.js). After changing it back to application/javascript it works.

It looks like go 1.19 fixes (?) this behaviour. I have not tested this yet.

from temporalite-archived.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.