{"id":19167254,"url":"https://github.com/fingerprintjs/docs-redirect","last_synced_at":"2025-04-19T23:30:49.344Z","repository":{"id":66219947,"uuid":"303948290","full_name":"fingerprintjs/docs-redirect","owner":"fingerprintjs","description":"A configuration to redirect from the old documentation domain to the new one","archived":true,"fork":false,"pushed_at":"2022-06-29T11:58:35.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-11T20:02:23.448Z","etag":null,"topics":["cloudfront","cloudfront-functions","redirect"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fingerprintjs.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-14T08:18:20.000Z","updated_at":"2024-11-21T15:30:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"dca01bfc-6b01-4527-b9a7-ce14864b34be","html_url":"https://github.com/fingerprintjs/docs-redirect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fingerprintjs%2Fdocs-redirect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fingerprintjs%2Fdocs-redirect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fingerprintjs%2Fdocs-redirect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fingerprintjs%2Fdocs-redirect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fingerprintjs","download_url":"https://codeload.github.com/fingerprintjs/docs-redirect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249830834,"owners_count":21331355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudfront","cloudfront-functions","redirect"],"created_at":"2024-11-09T09:36:34.577Z","updated_at":"2025-04-19T23:30:49.330Z","avatar_url":"https://github.com/fingerprintjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Documentation redirect\n\nThe [cloudFront_function.js](cloudFront_function.js) file is a CloudFront function to redirect URLs from [docs.fingerprintjs.com](https://docs.fingerprintjs.com)\nto the new address: [dev.fingerprint.com](https://dev.fingerprint.com).\n\n## How to deploy\n\n### Initial setup\n\nGo to [CloudFront functions management](https://console.aws.amazon.com/cloudfront/v3/home?#/functions).\nCreate a new function, type `Redirects from the old documentation to the new one (https://github.com/fingerprintjs/docs-redirect)` in the \"Description\" field.\nPaste the function code from [cloudFront_function.js](cloudFront_function.js), click \"Save changes\".\nOpen the \"Publish\" tab and publish the function.\n\nGo to [CloudFront management](https://console.aws.amazon.com/cloudfront/v3/home).\nCreate a new distribution. Leave everything default except:\n\n- Type `dev.null` or anything else in the \"Origin domain\" field\n- Type `docs.fingerprintjs.com` in the \"Alternate domain name\" field\n- Create (if not created) and choose an SSL certificate for the domain in the \"Custom SSL certificate\" field\n- Choose the CloudFront function created earlier in the \"Viewer request\" field\n- Type `Redirects from the old documentation to the new one (https://github.com/fingerprintjs/docs-redirect)` in the \"Description\" field\n\n### Function code update\n\n1. Go to [CloudFront functions management](https://console.aws.amazon.com/cloudfront/v3/home?#/functions). Open the function.\n2. Paste the function code from [cloudFront_function.js](cloudFront_function.js), click \"Save changes\".\n3. Open the \"Publish\" tab and publish the function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffingerprintjs%2Fdocs-redirect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffingerprintjs%2Fdocs-redirect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffingerprintjs%2Fdocs-redirect/lists"}