Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index page gets always scanned, even if its not in the provided urls #163

Closed
BennyAlex opened this issue Sep 13, 2023 · 1 comment
Closed

Comments

@BennyAlex
Copy link

Describe the bug

When given an list of urls, eg:

   [ 'https://www.guetersloh.de/de/index.php',
     'https://www.guetersloh.de/de/datenschutz.php',
     'https://www.guetersloh.de/de/index.php#anchorContent',
     'https://www.guetersloh.de/de/leben-in-guetersloh.php',
     'https://www.guetersloh.de/de/leben-in-guetersloh/ehrenamt.php' ],

It stills scanns the "/" page and I get an additional sixth report

  "requestedUrl": "https://www.guetersloh.de/",
  "finalUrl": "https://www.guetersloh.de/",

D Creating Unlighthouse Unlighthouse 19:27:03
D Setting Unlighthouse Site URL [Site: https://www.guetersloh.de] Unlighthouse 19:27:04
starting unlighthouse
D Starting Unlighthouse [Server: undefined Site: https://www.guetersloh.de Debug: true] Unlighthouse 19:27:04
i The url config has been provided with 5 paths for scanning. Disabling sitemap, sampling and crawler. Unlighthouse 19:27:04
D Route has been queued. Path: / Name: _index. Unlighthouse 19:27:04
D Route has been queued. Path: /de/datenschutz.php Name: de-slug. Unlighthouse 19:27:04
D Route has been queued. Path: /de/index.php Name: de-slug. Unlighthouse 19:27:04
D Route has been queued. Path: /de/leben-in-guetersloh.php Name: de-slug. Unlighthouse 19:27:04
D Route has been queued. Path: /de/leben-in-guetersloh/ehrenamt.php Name: de-leben-in-guetersloh-slug.

Reproduction

No response

System / Nuxt Info

No response

@pedddro
Copy link
Contributor

pedddro commented Sep 19, 2023

Try using:

 scanner: {
    // exclude specific routes
    exclude: [
        '^https:\/\/www\.guetersloh\.de\/$'
    ]
}  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants