Giter Site home page Giter Site logo

Comments (5)

theomercierisen avatar theomercierisen commented on June 11, 2024 4

Hello, I have the same issue, it is not possible to modify the content of the security checlist with the .yml , could you please give us a hint of how to do it ? thank you

from personal-security-checklist.

hugosxm avatar hugosxm commented on June 11, 2024 3

Same here

from personal-security-checklist.

Compr0mzd avatar Compr0mzd commented on June 11, 2024 3

up

from personal-security-checklist.

Lissy93 avatar Lissy93 commented on June 11, 2024 1

I think it's this part that you need to update, to fetch a checklist from an alternate source:

export const useChecklists = routeLoader$(async () => {
const remoteUrl = 'https://raw.githubusercontent.com/Lissy93/personal-security-checklist/HEAD/personal-security-checklist.yml';
return fetch(remoteUrl)
.then((res) => res.text())
.then((res) => jsyaml.load(res) as Sections)
.catch(() => []);
});

from personal-security-checklist.

Suri777 avatar Suri777 commented on June 11, 2024

Location
personal-security-checklist.yml
layout.tsx

Amendments
Hi @Lissy93 , I edited the personal-security-checklist.yml file, but I can't apply the changes.

I modified the personal-security-checklist/web/src/routes/layout.tsx with the local address where my modified file is located (changing line 11 in layout.tsx file). However when the site loads, the information that should be in the yml file does not appear (the rest of the site loads correctly).

Could you give us an example of how I have to write the local URL for it to work correctly?

Thanks in advance!

from personal-security-checklist.

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.