GithubHelp home page GithubHelp logo

Comments (7)

rogersmj avatar rogersmj commented on August 23, 2024

Never mind, I spotted this in the README:

Note: If you are opening index.html file locally in Google Chrome than you will face an issue of tiles not being displayed and see an error about cross origin requests not being supported in file:// protocol. in browser's console. You can overcome the problem by starting Chrome with --allow-file-access-from-files switch or simply open the page in Firefox.

Still wonder if it should include an optional web server? Closing for now.

from tileboard.

 avatar commented on August 23, 2024

I think we would simply ask people to copy files to www directory

from tileboard.

Evgeny- avatar Evgeny- commented on August 23, 2024

I've reopened it.
I think most people are using google chrome and open file directly in the browser. So most of users are get this error. And who knows how much of them are left project on this step.
So my suggestions:
a) Detect if file opened in chrome via file:// protocol, and then saying to user that is not gonna work
b) Use some plugin for development that will compile html templates right into the one js file
c) Put all templates directly into index.html file, using something like <script type="template"></script>
d) Create a simple webserver with w.g. python

For this project, I'll suggest use c) solution. It's simple and don't require any compilations.

from tileboard.

rogersmj avatar rogersmj commented on August 23, 2024

@resoai , I don't want to do that because my HA server is open to the Internet so I can access it remotely. With the way this project is currently setup, wouldn't dropping this in the www folder expose my config, most importantly my HA password?

Seems like option (c) above would be the best short-term quick fix.

from tileboard.

 avatar commented on August 23, 2024

Homeassistant will soon move to oauth2 which will fix all our problems

from tileboard.

Evgeny- avatar Evgeny- commented on August 23, 2024

This problems already solved

from tileboard.

amkochaki avatar amkochaki commented on August 23, 2024

Hello

I'm accessing my HA via duckdns, but tested it having problems accessing Tilebord, what appears to me is only the background screen and the screensaver also appears. I can access the files from the tileboard directories as well. But I don't know what the screens are not showing. Can someone help me with this please?

from tileboard.

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.