This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| server_name testdeploy.rocketseat.com.br; | |
| location / { | |
| proxy_pass http://127.0.0.1:3333; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection 'upgrade'; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Adapted to BR phone format from the class | |
| * UsPhoneNumberFormatter by Samik Bandyopadhyay: | |
| * http://stackoverflow.com/a/23659268/332839 | |
| */ | |
| public class BrPhoneNumberFormatter implements TextWatcher { | |
| final int MAX_LENGTH = 11; | |
| //This TextWatcher sub-class formats entered numbers as (41) 1234(5)?-6789 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Translated default messages for the jQuery validation plugin. | |
| * Locale: PT_BR | |
| */ | |
| jQuery.extend(jQuery.validator.messages, { | |
| required: "Campo obrigatório!", | |
| remote: "Por favor, corrija este campo.", | |
| email: "Por favor, forneça um endereço eletrônico válido.", | |
| url: "Por favor, forneça uma URL válida.", | |
| date: "Por favor, forneça uma data válida.", |