diff --git a/LICENSE b/LICENSE index 2e3e9fa..da3db02 100644 --- a/LICENSE +++ b/LICENSE @@ -175,7 +175,7 @@ END OF TERMS AND CONDITIONS - Copyright 2026 Umut Güden on behalf of HMD Corp + Copyright 2026 Umut Güden Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 68f7d2f..20a2460 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # IP API -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Deploy with Vercel](https://img.shields.io/badge/Vercel-Deployed-black?logo=vercel)](https://ip.hmddevs.org) [![Node.js](https://img.shields.io/badge/Node.js-18+-339933?logo=node.js&logoColor=white)](https://nodejs.org/) @@ -243,7 +243,7 @@ Found a vulnerability? See [SECURITY.md](SECURITY.md). ## Licence -[MIT](LICENSE) +[Apache 2.0](LICENSE) ## Acknowledgements diff --git a/api/index.js b/api/index.js index 31ec18c..cae05af 100644 --- a/api/index.js +++ b/api/index.js @@ -2,7 +2,7 @@ * IP API - A lightning-fast, privacy-focused IP geolocation API * * @author HMD Developments, Inc. - * @license MIT + * @license Apache-2.0 * @see https://github.com/hmddevs/ip-api * @version 1.0.0 */ diff --git a/openapi.yaml b/openapi.yaml index 8fb68b2..260298d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -16,8 +16,8 @@ info: url: https://hmddevs.org email: contact@hmddevs.org license: - name: MIT - url: https://opensource.org/licenses/MIT + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html x-logo: url: https://hmddevs.org/logo.png altText: HMD Developments Logo diff --git a/package.json b/package.json index f117e2a..2733266 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "privacy" ], "author": "HMD Developments, Inc. (https://hmddevs.org)", - "license": "MIT", + "license": "Apache-2.0", "homepage": "https://ip.hmddevs.org", "repository": { "type": "git", diff --git a/test/api.test.js b/test/api.test.js index da83b55..1e02db6 100644 --- a/test/api.test.js +++ b/test/api.test.js @@ -2,7 +2,7 @@ * IP API - Unit Tests * * @author HMD Developments, Inc. - * @license MIT + * @license Apache-2.0 */ const { describe, it, beforeEach } = require('node:test');