diff --git a/CHANGELOG.md b/CHANGELOG.md index 78c7a62..bfccc55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [v1.2.2] - 2024-04-30 + +### Added + +- build: add axios-auth-refresh to refresh token automatically and integrate with axios + +### Changed + +- refactor: unnecessary data when there are no appointment + +### Fixed + +- fix: websocket not working with htpps and refresh token interceptor + ## [v1.2.1] - 2024-04-02 ### Changed diff --git a/README.md b/README.md index 612dfc2..8413b47 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,10 @@ Para executar o projeto localmente, siga as etapas abaixo: *user*: admin *password*: 123456 - Para configurações do serviço e de como gerar o token, consulte a [documentação oficial](https://novosga.org/docs/current/) + + Para fazer sair do usuário, basta precionar o comando `ctrl + m` e selecionar a opção sair. + + Para configurações do serviço e de como gerar o token, consulte a [documentação oficial do novoSGA](https://novosga.org/docs/current/) ## 🤝 Contribuições Contribuições são bem-vindas! Sinta-se à vontade para enviar sugestões, relatar problemas ou contribuir diretamente para o desenvolvimento do projeto. diff --git a/vite.config.js.timestamp-1714475292592-dfb08d75bcf3a.mjs b/vite.config.js.timestamp-1714475292592-dfb08d75bcf3a.mjs deleted file mode 100644 index 95a6fd4..0000000 --- a/vite.config.js.timestamp-1714475292592-dfb08d75bcf3a.mjs +++ /dev/null @@ -1,16 +0,0 @@ -// vite.config.js -import { defineConfig } from "file:///C:/Users/samuel.teixeira/Documents/projects/painel-de-chamadas/node_modules/.pnpm/vite@5.0.11/node_modules/vite/dist/node/index.js"; -import react from "file:///C:/Users/samuel.teixeira/Documents/projects/painel-de-chamadas/node_modules/.pnpm/@vitejs+plugin-react@4.2.1_vite@5.0.11/node_modules/@vitejs/plugin-react/dist/index.mjs"; -import jsconfigPaths from "file:///C:/Users/samuel.teixeira/Documents/projects/painel-de-chamadas/node_modules/.pnpm/vite-jsconfig-paths@2.0.1_vite@5.0.11/node_modules/vite-jsconfig-paths/dist/index.mjs"; -var vite_config_default = defineConfig({ - plugins: [react(), jsconfigPaths()], - test: { - globals: true, - setupFiles: ["./test/setup.js"], - environment: "jsdom" - } -}); -export { - vite_config_default as default -}; -//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxzYW11ZWwudGVpeGVpcmFcXFxcRG9jdW1lbnRzXFxcXHByb2plY3RzXFxcXHBhaW5lbC1kZS1jaGFtYWRhc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiQzpcXFxcVXNlcnNcXFxcc2FtdWVsLnRlaXhlaXJhXFxcXERvY3VtZW50c1xcXFxwcm9qZWN0c1xcXFxwYWluZWwtZGUtY2hhbWFkYXNcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0M6L1VzZXJzL3NhbXVlbC50ZWl4ZWlyYS9Eb2N1bWVudHMvcHJvamVjdHMvcGFpbmVsLWRlLWNoYW1hZGFzL3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcclxuaW1wb3J0IHJlYWN0IGZyb20gJ0B2aXRlanMvcGx1Z2luLXJlYWN0J1xyXG5pbXBvcnQganNjb25maWdQYXRocyBmcm9tICd2aXRlLWpzY29uZmlnLXBhdGhzJ1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgZGVmaW5lQ29uZmlnKHtcclxuICBwbHVnaW5zOiBbcmVhY3QoKSwganNjb25maWdQYXRocygpXSxcclxuICB0ZXN0OiB7XHJcbiA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