This file contains 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
import React, { Component } from 'react'; | |
import { IntlProvider, addLocaleData } from 'react-intl'; | |
import en from 'react-intl/locale-data/en'; // add local data for messages like format date,time based on the local format | |
import ar from 'react-intl/locale-data/ar'; | |
import axios from 'axios'; // to load messages based on the lang from server | |
addLocaleData(en); | |
addLocaleData(ar); | |
class App extends Component { |
This file contains 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
import React, { Component } from 'react'; | |
import { IntlProvider, addLocaleData } from 'react-intl'; | |
import en from 'react-intl/locale-data/en'; // add local data for messages like format date,time based on the local format | |
import ar from 'react-intl/locale-data/ar'; | |
import axios from 'axios'; // to load messages based on the lang from server | |
addLocaleData(en); | |
addLocaleData(ar); | |
class App extends Component { |
This file contains 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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |